/*****************************************************************************
*
* XDDDEFAULT.H - Header file for default scheduled downtime data routines
*
* Copyright (c) 2001-2003 Ethan Galstad (nagios@nagios.org)
* Last Modified: 07-20-2003
*
* License:
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*****************************************************************************/
#define XDDDEFAULT_NO_DATA 0
#define XDDDEFAULT_INFO_DATA 1
#define XDDDEFAULT_HOST_DATA 2
#define XDDDEFAULT_SERVICE_DATA 3
#ifdef NSCORE
int xdddefault_initialize_downtime_data(char *);
int xdddefault_create_downtime_file(void);
int xdddefault_validate_downtime_data(void);
int xdddefault_cleanup_downtime_data(char *);
int xdddefault_save_downtime_data(void);
int xdddefault_add_new_host_downtime(char *,time_t,char *,char *,time_t,time_t,int,unsigned long,unsigned long,unsigned long *);
int xdddefault_add_new_service_downtime(char *,char *,time_t,char *,char *,time_t,time_t,int,unsigned long,unsigned long,unsigned long *);
int xdddefault_delete_host_downtime(unsigned long);
int xdddefault_delete_service_downtime(unsigned long);
int xdddefault_delete_downtime(int,unsigned long);
#endif
int xdddefault_grab_config_info(char *);
void xdddefault_grab_config_directives(char *);
int xdddefault_read_downtime_data(char *);
=1=
THE END |