include/sretention.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  *
00003  * SRETENTION.H - Header for state retention routines
00004  *
00005  * Copyright (c) 1999-2009 Ethan Galstad (egalstad@nagios.org)
00006  * Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
00007  * Copyright (c) 2009-2011 Icinga Development Team (http://www.icinga.org)
00008  *
00009  * License:
00010  *
00011  * This program is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License version 2 as
00013  * published by the Free Software Foundation.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00023  *
00024  *****************************************************************************/
00025 
00026 #ifdef __cplusplus
00027   extern "C" {
00028 #endif
00029 
00030 int initialize_retention_data(char *);
00031 int cleanup_retention_data(char *);
00032 int save_state_information(int);                 /* saves all host and state information */
00033 int read_initial_state_information(void);        /* reads in initial host and state information */
00034 int sync_state_information(void);                /* syncs hosts and state information from sync file */
00035 
00036 #ifdef __cplusplus
00037   }
00038 #endif

Generated on Wed Mar 30 17:22:22 2011 for icinga-core by  doxygen 1.4.7