Data Structures |
struct | objectlist_struct |
struct | timerange_struct |
struct | daterange_struct |
struct | timeperiodexclusion_struct |
struct | timeperiod_struct |
struct | contactsmember_struct |
struct | contactgroup_struct |
struct | contactgroupsmember_struct |
struct | customvariablesmember_struct |
struct | command_struct |
struct | commandsmember_struct |
struct | contact_struct |
struct | servicesmember_struct |
struct | hostsmember_struct |
struct | hostgroup_struct |
struct | host_struct |
struct | servicegroup_struct |
struct | service_struct |
struct | escalation_condition_struct |
struct | serviceescalation_struct |
struct | servicedependency_struct |
struct | hostescalation_struct |
struct | hostdependency_struct |
struct | module_struct |
struct | host_cursor_struct |
Defines |
#define | CURRENT_OBJECT_STRUCTURE_VERSION 307 |
#define | MAX_STATE_HISTORY_ENTRIES 21 |
#define | MAX_CONTACT_ADDRESSES 6 |
#define | NUM_OBJECT_SKIPLISTS 13 |
#define | HOST_SKIPLIST 0 |
#define | SERVICE_SKIPLIST 1 |
#define | COMMAND_SKIPLIST 2 |
#define | TIMEPERIOD_SKIPLIST 3 |
#define | CONTACT_SKIPLIST 4 |
#define | CONTACTGROUP_SKIPLIST 5 |
#define | HOSTGROUP_SKIPLIST 6 |
#define | SERVICEGROUP_SKIPLIST 7 |
#define | HOSTDEPENDENCY_SKIPLIST 8 |
#define | SERVICEDEPENDENCY_SKIPLIST 9 |
#define | HOSTESCALATION_SKIPLIST 10 |
#define | SERVICEESCALATION_SKIPLIST 11 |
#define | MODULE_SKIPLIST 12 |
#define | VOLATILE_WITH_RENOTIFICATION_INTERVAL 2 |
#define | EC_CONNECTOR_NO 0 |
#define | EC_CONNECTOR_OR 1 |
#define | EC_CONNECTOR_AND 2 |
Typedefs |
typedef struct host_struct | host |
typedef struct service_struct | service |
typedef struct contact_struct | contact |
typedef struct objectlist_struct | objectlist |
typedef struct timerange_struct | timerange |
typedef struct daterange_struct | daterange |
typedef struct
timeperiodexclusion_struct | timeperiodexclusion |
typedef struct timeperiod_struct | timeperiod |
typedef struct
contactsmember_struct | contactsmember |
typedef struct contactgroup_struct | contactgroup |
typedef struct
contactgroupsmember_struct | contactgroupsmember |
typedef struct
customvariablesmember_struct | customvariablesmember |
typedef struct command_struct | command |
typedef struct
commandsmember_struct | commandsmember |
typedef struct
servicesmember_struct | servicesmember |
typedef struct hostsmember_struct | hostsmember |
typedef struct hostgroup_struct | hostgroup |
typedef struct servicegroup_struct | servicegroup |
typedef struct
escalation_condition_struct | escalation_condition |
typedef struct
serviceescalation_struct | serviceescalation |
typedef struct
servicedependency_struct | servicedependency |
typedef struct
hostescalation_struct | hostescalation |
typedef struct
hostdependency_struct | hostdependency |
typedef struct module_struct | module |
typedef struct host_cursor_struct | host_cursor |
Functions |
int | read_object_config_data (char *, int, int, int) |
contact * | add_contact (char *, char *, char *, char *, char **, char *, char *, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int) |
commandsmember * | add_service_notification_command_to_contact (contact *, char *) |
commandsmember * | add_host_notification_command_to_contact (contact *, char *) |
customvariablesmember * | add_custom_variable_to_contact (contact *, char *, char *) |
host * | add_host (char *, char *, char *, char *, char *, char *, int, double, double, int, int, int, int, int, int, double, double, char *, int, char *, int, int, char *, int, int, double, double, int, int, int, int, int, int, int, int, char *, int, int, char *, char *, char *, char *, char *, char *, char *, int, int, int, double, double, double, int, int, int, int, int) |
hostsmember * | add_parent_host_to_host (host *, char *) |
hostsmember * | add_child_link_to_host (host *, host *) |
contactgroupsmember * | add_contactgroup_to_host (host *, char *) |
contactsmember * | add_contact_to_host (host *, char *) |
customvariablesmember * | add_custom_variable_to_host (host *, char *, char *) |
timeperiod * | add_timeperiod (char *, char *) |
timeperiodexclusion * | add_exclusion_to_timeperiod (timeperiod *, char *) |
timerange * | add_timerange_to_timeperiod (timeperiod *, int, unsigned long, unsigned long) |
daterange * | add_exception_to_timeperiod (timeperiod *, int, int, int, int, int, int, int, int, int, int, int, int) |
timerange * | add_timerange_to_daterange (daterange *, unsigned long, unsigned long) |
hostgroup * | add_hostgroup (char *, char *, char *, char *, char *) |
hostsmember * | add_host_to_hostgroup (hostgroup *, char *) |
servicegroup * | add_servicegroup (char *, char *, char *, char *, char *) |
servicesmember * | add_service_to_servicegroup (servicegroup *, char *, char *) |
contactgroup * | add_contactgroup (char *, char *) |
contactsmember * | add_contact_to_contactgroup (contactgroup *, char *) |
command * | add_command (char *, char *) |
service * | add_service (char *, char *, char *, char *, int, int, int, int, double, double, double, double, char *, int, int, int, int, int, int, int, int, char *, int, char *, int, int, double, double, int, int, int, int, int, int, int, int, int, int, char *, int, int, char *, char *, char *, char *, char *, int, int, int) |
contactgroupsmember * | add_contactgroup_to_service (service *, char *) |
contactsmember * | add_contact_to_service (service *, char *) |
serviceescalation * | add_serviceescalation (char *, char *, int, int, double, char *, int, int, int, int) |
contactgroupsmember * | add_contactgroup_to_serviceescalation (serviceescalation *, char *) |
contactsmember * | add_contact_to_serviceescalation (serviceescalation *, char *) |
customvariablesmember * | add_custom_variable_to_service (service *, char *, char *) |
servicedependency * | add_service_dependency (char *, char *, char *, char *, int, int, int, int, int, int, int, char *) |
hostdependency * | add_host_dependency (char *, char *, int, int, int, int, int, int, char *) |
hostescalation * | add_hostescalation (char *, int, int, double, char *, int, int, int) |
contactsmember * | add_contact_to_hostescalation (hostescalation *, char *) |
contactgroupsmember * | add_contactgroup_to_hostescalation (hostescalation *, char *) |
contactsmember * | add_contact_to_object (contactsmember **, char *) |
customvariablesmember * | add_custom_variable_to_object (customvariablesmember **, char *, char *) |
servicesmember * | add_service_link_to_host (host *, service *) |
escalation_condition * | add_serviceescalation_condition (serviceescalation *, escalation_condition *, char *, char *, int, int, int, int, int, int, int) |
escalation_condition * | add_hostescalation_condition (hostescalation *, escalation_condition *, char *, char *, int, int, int, int, int, int, int) |
module * | add_module (char *, char *, char *, char *) |
int | add_module_objects_to_neb (void) |
int | init_object_skiplists (void) |
int | free_object_skiplists (void) |
int | skiplist_compare_text (const char *val1a, const char *val1b, const char *val2a, const char *val2b) |
int | skiplist_compare_host (void *a, void *b) |
int | skiplist_compare_service (void *a, void *b) |
int | skiplist_compare_command (void *a, void *b) |
int | skiplist_compare_timeperiod (void *a, void *b) |
int | skiplist_compare_contact (void *a, void *b) |
int | skiplist_compare_contactgroup (void *a, void *b) |
int | skiplist_compare_hostgroup (void *a, void *b) |
int | skiplist_compare_servicegroup (void *a, void *b) |
int | skiplist_compare_hostescalation (void *a, void *b) |
int | skiplist_compare_serviceescalation (void *a, void *b) |
int | skiplist_compare_hostdependency (void *a, void *b) |
int | skiplist_compare_servicedependency (void *a, void *b) |
int | skiplist_compare_module (void *a, void *b) |
int | get_host_count (void) |
int | get_service_count (void) |
timeperiod * | find_timeperiod (char *) |
host * | find_host (char *) |
hostgroup * | find_hostgroup (char *) |
servicegroup * | find_servicegroup (char *) |
contact * | find_contact (char *) |
contactgroup * | find_contactgroup (char *) |
command * | find_command (char *) |
service * | find_service (char *, char *) |
module * | find_module (char *) |
hostescalation * | get_first_hostescalation_by_host (char *, void **) |
hostescalation * | get_next_hostescalation_by_host (char *, void **) |
serviceescalation * | get_first_serviceescalation_by_service (char *, char *, void **) |
serviceescalation * | get_next_serviceescalation_by_service (char *, char *, void **) |
hostdependency * | get_first_hostdependency_by_dependent_host (char *, void **) |
hostdependency * | get_next_hostdependency_by_dependent_host (char *, void **) |
servicedependency * | get_first_servicedependency_by_dependent_service (char *, char *, void **) |
servicedependency * | get_next_servicedependency_by_dependent_service (char *, char *, void **) |
int | add_servicedependency_to_hashlist (servicedependency *) |
int | is_host_immediate_child_of_host (host *, host *) |
int | is_host_primary_immediate_child_of_host (host *, host *) |
int | is_host_immediate_parent_of_host (host *, host *) |
int | is_host_member_of_hostgroup (hostgroup *, host *) |
int | is_host_member_of_servicegroup (servicegroup *, host *) |
int | is_service_member_of_servicegroup (servicegroup *, service *) |
int | is_contact_member_of_contactgroup (contactgroup *, contact *) |
int | is_contact_for_hostgroup (hostgroup *, contact *) |
int | is_contact_for_servicegroup (servicegroup *, contact *) |
int | is_contact_for_host (host *, contact *) |
int | is_escalated_contact_for_host (host *, contact *) |
int | is_contact_for_service (service *, contact *) |
int | is_escalated_contact_for_service (service *, contact *) |
int | number_of_immediate_child_hosts (host *) |
int | number_of_total_child_hosts (host *) |
int | number_of_immediate_parent_hosts (host *) |
int | number_of_total_parent_hosts (host *) |
int | free_object_data (void) |