#include "config.h"#include "common.h"Go to the source code of this file.
| #define COMMAND_SKIPLIST 2 |
| #define CONTACT_SKIPLIST 4 |
| #define CONTACTGROUP_SKIPLIST 5 |
| #define CURRENT_OBJECT_STRUCTURE_VERSION 307 |
| #define EC_CONNECTOR_AND 2 |
| #define EC_CONNECTOR_NO 0 |
| #define EC_CONNECTOR_OR 1 |
| #define HOST_SKIPLIST 0 |
| #define HOSTDEPENDENCY_SKIPLIST 8 |
| #define HOSTESCALATION_SKIPLIST 10 |
| #define HOSTGROUP_SKIPLIST 6 |
| #define MAX_CONTACT_ADDRESSES 6 |
| #define MAX_STATE_HISTORY_ENTRIES 21 |
| #define NUM_OBJECT_SKIPLISTS 12 |
| #define SERVICE_SKIPLIST 1 |
| #define SERVICEDEPENDENCY_SKIPLIST 9 |
| #define SERVICEESCALATION_SKIPLIST 11 |
| #define SERVICEGROUP_SKIPLIST 7 |
| #define TIMEPERIOD_SKIPLIST 3 |
| #define VOLATILE_WITH_RENOTIFICATION_INTERVAL 2 |
| typedef struct command_struct command |
| typedef struct commandsmember_struct commandsmember |
| typedef struct contact_struct contact |
| typedef struct contactgroup_struct contactgroup |
| typedef struct contactgroupsmember_struct contactgroupsmember |
| typedef struct contactsmember_struct contactsmember |
| typedef struct customvariablesmember_struct customvariablesmember |
| typedef struct daterange_struct daterange |
| typedef struct escalation_condition_struct escalation_condition |
| typedef struct host_struct host |
| typedef struct host_cursor_struct host_cursor |
| typedef struct hostdependency_struct hostdependency |
| typedef struct hostescalation_struct hostescalation |
| typedef struct hostgroup_struct hostgroup |
| typedef struct hostsmember_struct hostsmember |
| typedef struct objectlist_struct objectlist |
| typedef struct service_struct service |
| typedef struct servicedependency_struct servicedependency |
| typedef struct serviceescalation_struct serviceescalation |
| typedef struct servicegroup_struct servicegroup |
| typedef struct servicesmember_struct servicesmember |
| typedef struct timeperiod_struct timeperiod |
| typedef struct timeperiodexclusion_struct timeperiodexclusion |
| typedef struct timerange_struct timerange |
| hostsmember* add_child_link_to_host | ( | host * | , | |
| host * | ||||
| ) |
| command* add_command | ( | char * | , | |
| char * | ||||
| ) |
| 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 | ||||
| ) |
| contactsmember* add_contact_to_contactgroup | ( | contactgroup * | , | |
| char * | ||||
| ) |
| contactsmember* add_contact_to_host | ( | host * | , | |
| char * | ||||
| ) |
| contactsmember* add_contact_to_hostescalation | ( | hostescalation * | , | |
| char * | ||||
| ) |
| contactsmember* add_contact_to_object | ( | contactsmember ** | , | |
| char * | ||||
| ) |
| contactsmember* add_contact_to_service | ( | service * | , | |
| char * | ||||
| ) |
| contactsmember* add_contact_to_serviceescalation | ( | serviceescalation * | , | |
| char * | ||||
| ) |
| contactgroup* add_contactgroup | ( | char * | , | |
| char * | ||||
| ) |
| contactgroupsmember* add_contactgroup_to_host | ( | host * | , | |
| char * | ||||
| ) |
| contactgroupsmember* add_contactgroup_to_hostescalation | ( | hostescalation * | , | |
| char * | ||||
| ) |
| contactgroupsmember* add_contactgroup_to_service | ( | service * | , | |
| char * | ||||
| ) |
| contactgroupsmember* add_contactgroup_to_serviceescalation | ( | serviceescalation * | , | |
| char * | ||||
| ) |
| customvariablesmember* add_custom_variable_to_contact | ( | contact * | , | |
| char * | , | |||
| char * | ||||
| ) |
| customvariablesmember* add_custom_variable_to_host | ( | host * | , | |
| char * | , | |||
| char * | ||||
| ) |
| customvariablesmember* add_custom_variable_to_object | ( | customvariablesmember ** | , | |
| char * | , | |||
| char * | ||||
| ) |
| customvariablesmember* add_custom_variable_to_service | ( | service * | , | |
| char * | , | |||
| char * | ||||
| ) |
| daterange* add_exception_to_timeperiod | ( | timeperiod * | , | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| timeperiodexclusion* add_exclusion_to_timeperiod | ( | timeperiod * | , | |
| 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 | ||||
| ) |
| hostdependency* add_host_dependency | ( | char * | , | |
| char * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| char * | ||||
| ) |
| commandsmember* add_host_notification_command_to_contact | ( | contact * | , | |
| char * | ||||
| ) |
| hostsmember* add_host_to_hostgroup | ( | hostgroup * | , | |
| char * | ||||
| ) |
| hostescalation* add_hostescalation | ( | char * | , | |
| int | , | |||
| int | , | |||
| double | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| escalation_condition* add_hostescalation_condition | ( | hostescalation * | , | |
| escalation_condition * | , | |||
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| hostgroup* add_hostgroup | ( | char * | , | |
| char * | , | |||
| char * | , | |||
| char * | , | |||
| char * | ||||
| ) |
| hostsmember* add_parent_host_to_host | ( | host * | , | |
| 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 | ||||
| ) |
| servicedependency* add_service_dependency | ( | char * | , | |
| char * | , | |||
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| char * | ||||
| ) |
| servicesmember* add_service_link_to_host | ( | host * | , | |
| service * | ||||
| ) |
| commandsmember* add_service_notification_command_to_contact | ( | contact * | , | |
| char * | ||||
| ) |
| servicesmember* add_service_to_servicegroup | ( | servicegroup * | , | |
| char * | , | |||
| char * | ||||
| ) |
| int add_servicedependency_to_hashlist | ( | servicedependency * | ) |
| serviceescalation* add_serviceescalation | ( | char * | , | |
| char * | , | |||
| int | , | |||
| int | , | |||
| double | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| escalation_condition* add_serviceescalation_condition | ( | serviceescalation * | , | |
| escalation_condition * | , | |||
| char * | , | |||
| char * | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| servicegroup* add_servicegroup | ( | char * | , | |
| char * | , | |||
| char * | , | |||
| char * | , | |||
| char * | ||||
| ) |
| timeperiod* add_timeperiod | ( | char * | , | |
| char * | ||||
| ) |
| timerange* add_timerange_to_timeperiod | ( | timeperiod * | , | |
| int | , | |||
| unsigned | long, | |||
| unsigned | long | |||
| ) |
| command* find_command | ( | char * | ) |
| contact* find_contact | ( | char * | ) |
| contactgroup* find_contactgroup | ( | char * | ) |
| host* find_host | ( | char * | ) |
| hostgroup* find_hostgroup | ( | char * | ) |
| service* find_service | ( | char * | , | |
| char * | ||||
| ) |
| servicegroup* find_servicegroup | ( | char * | ) |
| timeperiod* find_timeperiod | ( | char * | ) |
| int free_object_data | ( | void | ) |
| int free_object_skiplists | ( | void | ) |
| hostdependency* get_first_hostdependency_by_dependent_host | ( | char * | , | |
| void ** | ||||
| ) |
| hostescalation* get_first_hostescalation_by_host | ( | char * | , | |
| void ** | ||||
| ) |
| servicedependency* get_first_servicedependency_by_dependent_service | ( | char * | , | |
| char * | , | |||
| void ** | ||||
| ) |
| serviceescalation* get_first_serviceescalation_by_service | ( | char * | , | |
| char * | , | |||
| void ** | ||||
| ) |
| int get_host_count | ( | void | ) |
| hostdependency* get_next_hostdependency_by_dependent_host | ( | char * | , | |
| void ** | ||||
| ) |
| hostescalation* get_next_hostescalation_by_host | ( | char * | , | |
| void ** | ||||
| ) |
| servicedependency* get_next_servicedependency_by_dependent_service | ( | char * | , | |
| char * | , | |||
| void ** | ||||
| ) |
| serviceescalation* get_next_serviceescalation_by_service | ( | char * | , | |
| char * | , | |||
| void ** | ||||
| ) |
| int get_service_count | ( | void | ) |
| int init_object_skiplists | ( | void | ) |
| int is_contact_for_servicegroup | ( | servicegroup * | , | |
| contact * | ||||
| ) |
| int is_contact_member_of_contactgroup | ( | contactgroup * | , | |
| contact * | ||||
| ) |
| int is_host_member_of_servicegroup | ( | servicegroup * | , | |
| host * | ||||
| ) |
| int is_service_member_of_servicegroup | ( | servicegroup * | , | |
| service * | ||||
| ) |
| int number_of_immediate_child_hosts | ( | host * | ) |
| int number_of_immediate_parent_hosts | ( | host * | ) |
| int number_of_total_child_hosts | ( | host * | ) |
| int number_of_total_parent_hosts | ( | host * | ) |
| int read_object_config_data | ( | char * | , | |
| int | , | |||
| int | , | |||
| int | ||||
| ) |
| int skiplist_compare_command | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_contact | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_contactgroup | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_host | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_hostdependency | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_hostescalation | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_hostgroup | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_service | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_servicedependency | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_serviceescalation | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_servicegroup | ( | void * | a, | |
| void * | b | |||
| ) |
| int skiplist_compare_text | ( | const char * | val1a, | |
| const char * | val1b, | |||
| const char * | val2a, | |||
| const char * | val2b | |||
| ) |
| int skiplist_compare_timeperiod | ( | void * | a, | |
| void * | b | |||
| ) |
1.4.7