00001 /***************************************************************************** 00002 * 00003 * XCDDEFAULT.H - Header file for default comment data 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 #ifndef _XCDDEFAULT_H 00027 #define _XCDDEFAULT_H 00028 00029 #ifdef NSCORE 00030 int xcddefault_initialize_comment_data(char *); 00031 int xcddefault_cleanup_comment_data(char *); 00032 int xcddefault_save_comment_data(void); 00033 int xcddefault_add_new_host_comment(int,char *,time_t,char *,char *,int,int,int,time_t,unsigned long *); 00034 int xcddefault_add_new_service_comment(int,char *,char *,time_t,char *,char *,int,int,int,time_t,unsigned long *); 00035 int xcddefault_delete_host_comment(unsigned long); 00036 int xcddefault_delete_service_comment(unsigned long); 00037 #endif 00038 00039 #endif