1 /*****************************************************************************
3 * NEBMODS.H - Include file for event broker modules
5 * Copyright (c) 2002-2005 Ethan Galstad (nagios@nagios.org)
6 * Last Modified: 11-25-2005
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 *****************************************************************************/
29 #include "nebcallbacks.h"
30 #include "nebmodules.h"
37 /***** MODULE STRUCTURES *****/
39 /* NEB module callback list struct */
40 typedef struct nebcallback_struct
{
44 struct nebcallback_struct
*next
;
49 /***** MODULE FUNCTIONS *****/
51 int neb_init_modules(void);
52 int neb_deinit_modules(void);
53 int neb_load_all_modules(void);
54 int neb_load_module(nebmodule
*);
55 int neb_free_module_list(void);
56 int neb_unload_all_modules(int,int);
57 int neb_unload_module(nebmodule
*,int,int);
58 int neb_add_module(char *,char *,int);
61 /***** CALLBACK FUNCTIONS *****/
62 int neb_init_callback_list(void);
63 int neb_free_callback_list(void);
64 int neb_make_callbacks(int,void *);