Makefile: Add default LDFLAGS and make it overridable
[nagios-reports-module.git] / module.h
blobdad99056696fc3f927ec343160bd85b7c03a4cf0
1 #ifndef _NDBNEB_MODULE_H_
2 #define _NDBNEB_MODULE_H_
4 #ifndef USE_EVENT_BROKER
5 # define USE_EVENT_BROKER 1
6 #endif
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"
15 #include "logging.h"
17 typedef struct file_list {
18 char *name;
19 struct stat st;
20 struct file_list *next;
21 } file_list;
24 /* used for Nagios' objects which we build linked lists for */
25 typedef struct linked_item {
26 void *item;
27 struct linked_item *next_item;
28 } linked_item;
31 /** global variables exported by Nagios **/
32 extern char *config_file;
33 extern int event_broker_options;
35 /** prototypes **/
36 extern int cb_handler(int cmd, void *data); /* the callback handler */
38 #endif