1 2 /***************************************************************************** 3 * 4 * SRETENTION.H - Header for state retention routines 5 * 6 * Copyright (c) 1999-2006 Ethan Galstad (egalstad@nagios.org) 7 * Last Modified: 02-28-2006 8 * 9 * License: 10 * 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License version 2 as 13 * published by the Free Software Foundation. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 * 24 *****************************************************************************/ 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 30 int initialize_retention_data(char *); 31 int cleanup_retention_data(char *); 32 int save_state_information(int); /* saves all host and state information */ 33 int read_initial_state_information(void); /* reads in initial host and state information */ 34 35 #ifdef __cplusplus 36 } 37 #endif 38