nebcallbacks.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _NEBCALLBACKS_H
00026 #define _NEBCALLBACKS_H
00027
00028 #include "config.h"
00029 #include "nebmodules.h"
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00035
00036
00037
00038 #define NEBCALLBACK_NUMITEMS 33
00039
00040 #define NEBCALLBACK_RESERVED0 0
00041 #define NEBCALLBACK_RESERVED1 1
00042 #define NEBCALLBACK_RESERVED2 2
00043 #define NEBCALLBACK_RESERVED3 3
00044 #define NEBCALLBACK_RESERVED4 4
00045
00046 #define NEBCALLBACK_RAW_DATA 5
00047 #define NEBCALLBACK_NEB_DATA 6
00048
00049 #define NEBCALLBACK_PROCESS_DATA 7
00050 #define NEBCALLBACK_TIMED_EVENT_DATA 8
00051 #define NEBCALLBACK_LOG_DATA 9
00052 #define NEBCALLBACK_SYSTEM_COMMAND_DATA 10
00053 #define NEBCALLBACK_EVENT_HANDLER_DATA 11
00054 #define NEBCALLBACK_NOTIFICATION_DATA 12
00055 #define NEBCALLBACK_SERVICE_CHECK_DATA 13
00056 #define NEBCALLBACK_HOST_CHECK_DATA 14
00057 #define NEBCALLBACK_COMMENT_DATA 15
00058 #define NEBCALLBACK_DOWNTIME_DATA 16
00059 #define NEBCALLBACK_FLAPPING_DATA 17
00060 #define NEBCALLBACK_PROGRAM_STATUS_DATA 18
00061 #define NEBCALLBACK_HOST_STATUS_DATA 19
00062 #define NEBCALLBACK_SERVICE_STATUS_DATA 20
00063 #define NEBCALLBACK_ADAPTIVE_PROGRAM_DATA 21
00064 #define NEBCALLBACK_ADAPTIVE_HOST_DATA 22
00065 #define NEBCALLBACK_ADAPTIVE_SERVICE_DATA 23
00066 #define NEBCALLBACK_EXTERNAL_COMMAND_DATA 24
00067 #define NEBCALLBACK_AGGREGATED_STATUS_DATA 25
00068 #define NEBCALLBACK_RETENTION_DATA 26
00069 #define NEBCALLBACK_CONTACT_NOTIFICATION_DATA 27
00070 #define NEBCALLBACK_CONTACT_NOTIFICATION_METHOD_DATA 28
00071 #define NEBCALLBACK_ACKNOWLEDGEMENT_DATA 29
00072 #define NEBCALLBACK_STATE_CHANGE_DATA 30
00073 #define NEBCALLBACK_CONTACT_STATUS_DATA 31
00074 #define NEBCALLBACK_ADAPTIVE_CONTACT_DATA 32
00075
00076
00077
00078
00079 int neb_register_callback(int callback_type, void *mod_handle, int priority, int (*callback_func)(int,void *));
00080 int neb_deregister_callback(int callback_type, int (*callback_func)(int,void *));
00081 int neb_deregister_module_callbacks(nebmodule *);
00082
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086
00087
00088 #endif