1 #ifndef _NDBNEB_MODULE_H_
2 #define _NDBNEB_MODULE_H_
4 #ifndef USE_EVENT_BROKER
5 # define USE_EVENT_BROKER 1
8 /* common include files required for types in this file */
9 #include <nagios/nebmods.h>
10 #include <nagios/nebmodules.h>
11 #include <nagios/nebcallbacks.h>
12 #include <nagios/nebstructs.h>
13 #include <nagios/broker.h>
17 typedef struct file_list
{
20 struct file_list
*next
;
24 /* used for Nagios' objects which we build linked lists for */
25 typedef struct linked_item
{
27 struct linked_item
*next_item
;
31 /** global variables exported by Nagios **/
32 extern char *config_file
;
33 extern int event_broker_options
;
36 extern int cb_handler(int cmd
, void *data
); /* the callback handler */