~yolanda.robla/ubuntu/saucy/nagios3/dep-8-tests

« back to all changes in this revision

Viewing changes to include/nebmods.h

  • Committer: Package Import Robot
  • Author(s): Alexander Wirt
  • Date: 2012-06-16 09:05:19 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120616090519-ne14zejkhhyboolc
Tags: 3.4.1-1
* [28e077b] Imported Upstream version 3.3.1
* [d5314e0] don't call updatepo in clean target
* [45b3eb9] Don't remove config foo
* [54e3dff] Don't fix permissions in cgi postinst
* [d7be9db] Build-depend on libpng-dev (Closes: #662441)
* [4c47006] Add dutch po translation (Closes: #654855)
* [2b6573b] Refresh 10_p1_pl_shebang.dpatch
* [316fd7a] Update 40_fix_spurious_dollar_signs_added_to_command_lines
* [5ff2780] Refresh 55_strip_logarchivepath.dpatch
* [811d269] Refresh 60_fix_p1.pl_patch_mini_epn.dpatch
* [39a1e9c] Remove now unneeded patch 98_fix_XSS_CVE-2011-2179
* [785a4e8] Remove unneded patch 99_fix_XSS_CVE-2011-1523
* [6ce98ef] Remove unneeded patchs from 00list
* [1d18266] Imported Upstream version 3.4.0
* [05584c8] Refresh patches
* [58098cd] Imported Upstream version 3.4.1
* [3e9e07a] Bump standards version
* [fe991e2] wrap-and-sort
* [1ba78f7] Also create /var/run/nagios in cgi package (Closes: #626854)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#ifndef _NEBMODS_H
26
26
#define _NEBMODS_H
27
27
 
 
28
#include "compat.h"
28
29
#include "config.h"
29
30
#include "nebcallbacks.h"
30
31
#include "nebmodules.h"
31
32
 
32
 
#ifdef __cplusplus
33
 
extern "C" { 
34
 
#endif
35
 
 
 
33
NAGIOS_BEGIN_DECL
36
34
 
37
35
/***** MODULE STRUCTURES *****/
38
36
 
39
37
/* NEB module callback list struct */
40
 
typedef struct nebcallback_struct{
 
38
typedef struct nebcallback_struct {
41
39
        void            *callback_func;
42
40
        void            *module_handle;
43
41
        int             priority;
44
42
        struct nebcallback_struct *next;
45
 
        }nebcallback;
 
43
        } nebcallback;
46
44
 
47
45
 
48
46
 
53
51
int neb_load_all_modules(void);
54
52
int neb_load_module(nebmodule *);
55
53
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);
 
54
int neb_unload_all_modules(int, int);
 
55
int neb_unload_module(nebmodule *, int, int);
 
56
int neb_add_module(char *, char *, int);
59
57
 
60
58
 
61
59
/***** CALLBACK FUNCTIONS *****/
62
60
int neb_init_callback_list(void);
63
61
int neb_free_callback_list(void);
64
 
int neb_make_callbacks(int,void *);
65
 
 
66
 
#ifdef __cplusplus
67
 
}
68
 
#endif
69
 
 
 
62
int neb_make_callbacks(int, void *);
 
63
 
 
64
NAGIOS_END_DECL
70
65
#endif