Icinga-core 1.4.0
next gen monitoring
common/objects.c File Reference
#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/skiplist.h"

Go to the source code of this file.

Functions

int read_object_config_data (char *main_config_file, int options, int cache, int precache)
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)
timeperiodadd_timeperiod (char *name, char *alias)
timeperiodexclusionadd_exclusion_to_timeperiod (timeperiod *period, char *name)
timerangeadd_timerange_to_timeperiod (timeperiod *period, int day, unsigned long start_time, unsigned long end_time)
daterangeadd_exception_to_timeperiod (timeperiod *period, int type, int syear, int smon, int smday, int swday, int swday_offset, int eyear, int emon, int emday, int ewday, int ewday_offset, int skip_interval)
timerangeadd_timerange_to_daterange (daterange *drange, unsigned long start_time, unsigned long end_time)
hostadd_host (char *name, char *display_name, char *alias, char *address, char *address6, char *check_period, int initial_state, double check_interval, double retry_interval, int max_attempts, int notify_up, int notify_down, int notify_unreachable, int notify_flapping, int notify_downtime, double notification_interval, double first_notification_delay, char *notification_period, int notifications_enabled, char *check_command, int checks_enabled, int accept_passive_checks, char *event_handler, int event_handler_enabled, int flap_detection_enabled, double low_flap_threshold, double high_flap_threshold, int flap_detection_on_up, int flap_detection_on_down, int flap_detection_on_unreachable, int stalk_on_up, int stalk_on_down, int stalk_on_unreachable, int process_perfdata, int failure_prediction_enabled, char *failure_prediction_options, int check_freshness, int freshness_threshold, char *notes, char *notes_url, char *action_url, char *icon_image, char *icon_image_alt, char *vrml_image, char *statusmap_image, int x_2d, int y_2d, int have_2d_coords, double x_3d, double y_3d, double z_3d, int have_3d_coords, int should_be_drawn, int retain_status_information, int retain_nonstatus_information, int obsess_over_host)
hostsmemberadd_parent_host_to_host (host *hst, char *host_name)
hostsmemberadd_child_link_to_host (host *hst, host *child_ptr)
servicesmemberadd_service_link_to_host (host *hst, service *service_ptr)
contactgroupsmemberadd_contactgroup_to_host (host *hst, char *group_name)
contactsmemberadd_contact_to_host (host *hst, char *contact_name)
customvariablesmemberadd_custom_variable_to_host (host *hst, char *varname, char *varvalue)
hostgroupadd_hostgroup (char *name, char *alias, char *notes, char *notes_url, char *action_url)
hostsmemberadd_host_to_hostgroup (hostgroup *temp_hostgroup, char *host_name)
servicegroupadd_servicegroup (char *name, char *alias, char *notes, char *notes_url, char *action_url)
servicesmemberadd_service_to_servicegroup (servicegroup *temp_servicegroup, char *host_name, char *svc_description)
contactadd_contact (char *name, char *alias, char *email, char *pager, char **addresses, char *svc_notification_period, char *host_notification_period, int notify_service_ok, int notify_service_critical, int notify_service_warning, int notify_service_unknown, int notify_service_flapping, int notify_service_downtime, int notify_host_up, int notify_host_down, int notify_host_unreachable, int notify_host_flapping, int notify_host_downtime, int host_notifications_enabled, int service_notifications_enabled, int can_submit_commands, int retain_status_information, int retain_nonstatus_information)
commandsmemberadd_host_notification_command_to_contact (contact *cntct, char *command_name)
commandsmemberadd_service_notification_command_to_contact (contact *cntct, char *command_name)
customvariablesmemberadd_custom_variable_to_contact (contact *cntct, char *varname, char *varvalue)
contactgroupadd_contactgroup (char *name, char *alias)
contactsmemberadd_contact_to_contactgroup (contactgroup *grp, char *contact_name)
serviceadd_service (char *host_name, char *description, char *display_name, char *check_period, int initial_state, int max_attempts, int parallelize, int accept_passive_checks, double check_interval, double retry_interval, double notification_interval, double first_notification_delay, char *notification_period, int notify_recovery, int notify_unknown, int notify_warning, int notify_critical, int notify_flapping, int notify_downtime, int notifications_enabled, int is_volatile, char *event_handler, int event_handler_enabled, char *check_command, int checks_enabled, int flap_detection_enabled, double low_flap_threshold, double high_flap_threshold, int flap_detection_on_ok, int flap_detection_on_warning, int flap_detection_on_unknown, int flap_detection_on_critical, int stalk_on_ok, int stalk_on_warning, int stalk_on_unknown, int stalk_on_critical, int process_perfdata, int failure_prediction_enabled, char *failure_prediction_options, int check_freshness, int freshness_threshold, char *notes, char *notes_url, char *action_url, char *icon_image, char *icon_image_alt, int retain_status_information, int retain_nonstatus_information, int obsess_over_service)
contactgroupsmemberadd_contactgroup_to_service (service *svc, char *group_name)
contactsmemberadd_contact_to_service (service *svc, char *contact_name)
customvariablesmemberadd_custom_variable_to_service (service *svc, char *varname, char *varvalue)
commandadd_command (char *name, char *value)
serviceescalationadd_serviceescalation (char *host_name, char *description, int first_notification, int last_notification, double notification_interval, char *escalation_period, int escalate_on_warning, int escalate_on_unknown, int escalate_on_critical, int escalate_on_recovery)
contactgroupsmemberadd_contactgroup_to_serviceescalation (serviceescalation *se, char *group_name)
contactsmemberadd_contact_to_serviceescalation (serviceescalation *se, char *contact_name)
servicedependencyadd_service_dependency (char *dependent_host_name, char *dependent_service_description, char *host_name, char *service_description, int dependency_type, int inherits_parent, int fail_on_ok, int fail_on_warning, int fail_on_unknown, int fail_on_critical, int fail_on_pending, char *dependency_period)
hostdependencyadd_host_dependency (char *dependent_host_name, char *host_name, int dependency_type, int inherits_parent, int fail_on_up, int fail_on_down, int fail_on_unreachable, int fail_on_pending, char *dependency_period)
hostescalationadd_hostescalation (char *host_name, int first_notification, int last_notification, double notification_interval, char *escalation_period, int escalate_on_down, int escalate_on_unreachable, int escalate_on_recovery)
escalation_conditionadd_host_service_escalation_condition (hostescalation *my_hostescalation, serviceescalation *my_serviceescalation, escalation_condition *last_condition, char *host_name, char *service_description, int connector, int escalate_on_down, int escalate_on_unreachable, int escalate_on_warning, int escalate_on_unknown, int escalate_on_critical, int escalate_on_ok)
escalation_conditionadd_hostescalation_condition (hostescalation *my_hostescalation, escalation_condition *last_condition, char *host_name, char *service_description, int connector, int escalate_on_down, int escalate_on_unreachable, int escalate_on_warning, int escalate_on_unknown, int escalate_on_critical, int escalate_on_ok)
escalation_conditionadd_serviceescalation_condition (serviceescalation *my_serviceescalation, escalation_condition *last_condition, char *host_name, char *service_description, int connector, int escalate_on_down, int escalate_on_unreachable, int escalate_on_warning, int escalate_on_unknown, int escalate_on_critical, int escalate_on_ok)
contactgroupsmemberadd_contactgroup_to_hostescalation (hostescalation *he, char *group_name)
contactsmemberadd_contact_to_hostescalation (hostescalation *he, char *contact_name)
contactsmemberadd_contact_to_object (contactsmember **object_ptr, char *contactname)
customvariablesmemberadd_custom_variable_to_object (customvariablesmember **object_ptr, char *varname, char *varvalue)
moduleadd_module (char *name, char *type, char *path, char *args)
timeperiodfind_timeperiod (char *name)
hostfind_host (char *name)
hostgroupfind_hostgroup (char *name)
servicegroupfind_servicegroup (char *name)
contactfind_contact (char *name)
contactgroupfind_contactgroup (char *name)
commandfind_command (char *name)
servicefind_service (char *host_name, char *svc_desc)
modulefind_module (char *name)
hostescalationget_first_hostescalation_by_host (char *host_name, void **ptr)
hostescalationget_next_hostescalation_by_host (char *host_name, void **ptr)
serviceescalationget_first_serviceescalation_by_service (char *host_name, char *svc_description, void **ptr)
serviceescalationget_next_serviceescalation_by_service (char *host_name, char *svc_description, void **ptr)
hostdependencyget_first_hostdependency_by_dependent_host (char *host_name, void **ptr)
hostdependencyget_next_hostdependency_by_dependent_host (char *host_name, void **ptr)
servicedependencyget_first_servicedependency_by_dependent_service (char *host_name, char *svc_description, void **ptr)
servicedependencyget_next_servicedependency_by_dependent_service (char *host_name, char *svc_description, void **ptr)
int is_host_immediate_child_of_host (host *parent_host, host *child_host)
int is_host_immediate_parent_of_host (host *child_host, host *parent_host)
int number_of_immediate_child_hosts (host *hst)
int number_of_total_child_hosts (host *hst)
int number_of_immediate_parent_hosts (host *hst)
int number_of_total_parent_hosts (host *hst)
int is_host_member_of_hostgroup (hostgroup *group, host *hst)
int is_host_member_of_servicegroup (servicegroup *group, host *hst)
int is_service_member_of_servicegroup (servicegroup *group, service *svc)
int is_contact_member_of_contactgroup (contactgroup *group, contact *cntct)
int is_contact_for_host (host *hst, contact *cntct)
int is_escalated_contact_for_host (host *hst, contact *cntct)
int is_contact_for_service (service *svc, contact *cntct)
int is_escalated_contact_for_service (service *svc, contact *cntct)
int free_object_data (void)

Variables

hosthost_list = NULL
hosthost_list_tail = NULL
serviceservice_list = NULL
serviceservice_list_tail = NULL
contactcontact_list = NULL
contactcontact_list_tail = NULL
contactgroupcontactgroup_list = NULL
contactgroupcontactgroup_list_tail = NULL
hostgrouphostgroup_list = NULL
hostgrouphostgroup_list_tail = NULL
servicegroupservicegroup_list = NULL
servicegroupservicegroup_list_tail = NULL
commandcommand_list = NULL
commandcommand_list_tail = NULL
timeperiodtimeperiod_list = NULL
timeperiodtimeperiod_list_tail = NULL
serviceescalationserviceescalation_list = NULL
serviceescalationserviceescalation_list_tail = NULL
servicedependencyservicedependency_list = NULL
servicedependencyservicedependency_list_tail = NULL
hostdependencyhostdependency_list = NULL
hostdependencyhostdependency_list_tail = NULL
hostescalationhostescalation_list = NULL
hostescalationhostescalation_list_tail = NULL
modulemodule_list = NULL
modulemodule_list_tail = NULL
skiplistobject_skiplists [NUM_OBJECT_SKIPLISTS]

Function Documentation

hostsmember* add_child_link_to_host ( host hst,
host child_ptr 
)

Definition at line 921 of file objects.c.

command* add_command ( char *  name,
char *  value 
)

Definition at line 1854 of file objects.c.

contact* add_contact ( char *  name,
char *  alias,
char *  email,
char *  pager,
char **  addresses,
char *  svc_notification_period,
char *  host_notification_period,
int  notify_service_ok,
int  notify_service_critical,
int  notify_service_warning,
int  notify_service_unknown,
int  notify_service_flapping,
int  notify_service_downtime,
int  notify_host_up,
int  notify_host_down,
int  notify_host_unreachable,
int  notify_host_flapping,
int  notify_host_downtime,
int  host_notifications_enabled,
int  service_notifications_enabled,
int  can_submit_commands,
int  retain_status_information,
int  retain_nonstatus_information 
)

Definition at line 1294 of file objects.c.

contactsmember* add_contact_to_contactgroup ( contactgroup grp,
char *  contact_name 
)

Definition at line 1555 of file objects.c.

contactsmember* add_contact_to_host ( host hst,
char *  contact_name 
)

Definition at line 1008 of file objects.c.

contactsmember* add_contact_to_hostescalation ( hostescalation he,
char *  contact_name 
)

Definition at line 2409 of file objects.c.

contactsmember* add_contact_to_object ( contactsmember **  object_ptr,
char *  contactname 
)

Definition at line 2417 of file objects.c.

contactsmember* add_contact_to_service ( service svc,
char *  contact_name 
)

Definition at line 1838 of file objects.c.

contactsmember* add_contact_to_serviceescalation ( serviceescalation se,
char *  contact_name 
)

Definition at line 2038 of file objects.c.

contactgroup* add_contactgroup ( char *  name,
char *  alias 
)

Definition at line 1493 of file objects.c.

contactgroupsmember* add_contactgroup_to_host ( host hst,
char *  group_name 
)

Definition at line 973 of file objects.c.

contactgroupsmember* add_contactgroup_to_hostescalation ( hostescalation he,
char *  group_name 
)

Definition at line 2374 of file objects.c.

contactgroupsmember* add_contactgroup_to_service ( service svc,
char *  group_name 
)

Definition at line 1804 of file objects.c.

contactgroupsmember* add_contactgroup_to_serviceescalation ( serviceescalation se,
char *  group_name 
)

Definition at line 2003 of file objects.c.

customvariablesmember* add_custom_variable_to_contact ( contact cntct,
char *  varname,
char *  varvalue 
)

Definition at line 1485 of file objects.c.

customvariablesmember* add_custom_variable_to_host ( host hst,
char *  varname,
char *  varvalue 
)

Definition at line 1016 of file objects.c.

customvariablesmember* add_custom_variable_to_object ( customvariablesmember **  object_ptr,
char *  varname,
char *  varvalue 
)

Definition at line 2457 of file objects.c.

customvariablesmember* add_custom_variable_to_service ( service svc,
char *  varname,
char *  varvalue 
)

Definition at line 1846 of file objects.c.

daterange* add_exception_to_timeperiod ( timeperiod period,
int  type,
int  syear,
int  smon,
int  smday,
int  swday,
int  swday_offset,
int  eyear,
int  emon,
int  emday,
int  ewday,
int  ewday_offset,
int  skip_interval 
)

Definition at line 556 of file objects.c.

timeperiodexclusion* add_exclusion_to_timeperiod ( timeperiod period,
char *  name 
)

Definition at line 498 of file objects.c.

host* add_host ( char *  name,
char *  display_name,
char *  alias,
char *  address,
char *  address6,
char *  check_period,
int  initial_state,
double  check_interval,
double  retry_interval,
int  max_attempts,
int  notify_up,
int  notify_down,
int  notify_unreachable,
int  notify_flapping,
int  notify_downtime,
double  notification_interval,
double  first_notification_delay,
char *  notification_period,
int  notifications_enabled,
char *  check_command,
int  checks_enabled,
int  accept_passive_checks,
char *  event_handler,
int  event_handler_enabled,
int  flap_detection_enabled,
double  low_flap_threshold,
double  high_flap_threshold,
int  flap_detection_on_up,
int  flap_detection_on_down,
int  flap_detection_on_unreachable,
int  stalk_on_up,
int  stalk_on_down,
int  stalk_on_unreachable,
int  process_perfdata,
int  failure_prediction_enabled,
char *  failure_prediction_options,
int  check_freshness,
int  freshness_threshold,
char *  notes,
char *  notes_url,
char *  action_url,
char *  icon_image,
char *  icon_image_alt,
char *  vrml_image,
char *  statusmap_image,
int  x_2d,
int  y_2d,
int  have_2d_coords,
double  x_3d,
double  y_3d,
double  z_3d,
int  have_3d_coords,
int  should_be_drawn,
int  retain_status_information,
int  retain_nonstatus_information,
int  obsess_over_host 
)

Definition at line 626 of file objects.c.

hostdependency* add_host_dependency ( char *  dependent_host_name,
char *  host_name,
int  dependency_type,
int  inherits_parent,
int  fail_on_up,
int  fail_on_down,
int  fail_on_unreachable,
int  fail_on_pending,
char *  dependency_period 
)

Definition at line 2129 of file objects.c.

commandsmember* add_host_notification_command_to_contact ( contact cntct,
char *  command_name 
)

Definition at line 1415 of file objects.c.

escalation_condition* add_host_service_escalation_condition ( hostescalation my_hostescalation,
serviceescalation my_serviceescalation,
escalation_condition last_condition,
char *  host_name,
char *  service_description,
int  connector,
int  escalate_on_down,
int  escalate_on_unreachable,
int  escalate_on_warning,
int  escalate_on_unknown,
int  escalate_on_critical,
int  escalate_on_ok 
)

Definition at line 2281 of file objects.c.

hostsmember* add_host_to_hostgroup ( hostgroup temp_hostgroup,
char *  host_name 
)

Definition at line 1097 of file objects.c.

hostescalation* add_hostescalation ( char *  host_name,
int  first_notification,
int  last_notification,
double  notification_interval,
char *  escalation_period,
int  escalate_on_down,
int  escalate_on_unreachable,
int  escalate_on_recovery 
)

Definition at line 2203 of file objects.c.

escalation_condition* add_hostescalation_condition ( hostescalation my_hostescalation,
escalation_condition last_condition,
char *  host_name,
char *  service_description,
int  connector,
int  escalate_on_down,
int  escalate_on_unreachable,
int  escalate_on_warning,
int  escalate_on_unknown,
int  escalate_on_critical,
int  escalate_on_ok 
)

Definition at line 2364 of file objects.c.

hostgroup* add_hostgroup ( char *  name,
char *  alias,
char *  notes,
char *  notes_url,
char *  action_url 
)

Definition at line 1024 of file objects.c.

module* add_module ( char *  name,
char *  type,
char *  path,
char *  args 
)

Definition at line 2504 of file objects.c.

hostsmember* add_parent_host_to_host ( host hst,
char *  host_name 
)

Definition at line 881 of file objects.c.

service* add_service ( char *  host_name,
char *  description,
char *  display_name,
char *  check_period,
int  initial_state,
int  max_attempts,
int  parallelize,
int  accept_passive_checks,
double  check_interval,
double  retry_interval,
double  notification_interval,
double  first_notification_delay,
char *  notification_period,
int  notify_recovery,
int  notify_unknown,
int  notify_warning,
int  notify_critical,
int  notify_flapping,
int  notify_downtime,
int  notifications_enabled,
int  is_volatile,
char *  event_handler,
int  event_handler_enabled,
char *  check_command,
int  checks_enabled,
int  flap_detection_enabled,
double  low_flap_threshold,
double  high_flap_threshold,
int  flap_detection_on_ok,
int  flap_detection_on_warning,
int  flap_detection_on_unknown,
int  flap_detection_on_critical,
int  stalk_on_ok,
int  stalk_on_warning,
int  stalk_on_unknown,
int  stalk_on_critical,
int  process_perfdata,
int  failure_prediction_enabled,
char *  failure_prediction_options,
int  check_freshness,
int  freshness_threshold,
char *  notes,
char *  notes_url,
char *  action_url,
char *  icon_image,
char *  icon_image_alt,
int  retain_status_information,
int  retain_nonstatus_information,
int  obsess_over_service 
)

Definition at line 1590 of file objects.c.

servicedependency* add_service_dependency ( char *  dependent_host_name,
char *  dependent_service_description,
char *  host_name,
char *  service_description,
int  dependency_type,
int  inherits_parent,
int  fail_on_ok,
int  fail_on_warning,
int  fail_on_unknown,
int  fail_on_critical,
int  fail_on_pending,
char *  dependency_period 
)

Definition at line 2046 of file objects.c.

servicesmember* add_service_link_to_host ( host hst,
service service_ptr 
)

Definition at line 947 of file objects.c.

commandsmember* add_service_notification_command_to_contact ( contact cntct,
char *  command_name 
)

Definition at line 1450 of file objects.c.

servicesmember* add_service_to_servicegroup ( servicegroup temp_servicegroup,
char *  host_name,
char *  svc_description 
)

Definition at line 1225 of file objects.c.

serviceescalation* add_serviceescalation ( char *  host_name,
char *  description,
int  first_notification,
int  last_notification,
double  notification_interval,
char *  escalation_period,
int  escalate_on_warning,
int  escalate_on_unknown,
int  escalate_on_critical,
int  escalate_on_recovery 
)

Definition at line 1917 of file objects.c.

escalation_condition* add_serviceescalation_condition ( serviceescalation my_serviceescalation,
escalation_condition last_condition,
char *  host_name,
char *  service_description,
int  connector,
int  escalate_on_down,
int  escalate_on_unreachable,
int  escalate_on_warning,
int  escalate_on_unknown,
int  escalate_on_critical,
int  escalate_on_ok 
)

Definition at line 2369 of file objects.c.

servicegroup* add_servicegroup ( char *  name,
char *  alias,
char *  notes,
char *  notes_url,
char *  action_url 
)

Definition at line 1152 of file objects.c.

timeperiod* add_timeperiod ( char *  name,
char *  alias 
)

Definition at line 435 of file objects.c.

timerange* add_timerange_to_daterange ( daterange drange,
unsigned long  start_time,
unsigned long  end_time 
)

Definition at line 593 of file objects.c.

timerange* add_timerange_to_timeperiod ( timeperiod period,
int  day,
unsigned long  start_time,
unsigned long  end_time 
)

Definition at line 520 of file objects.c.

command* find_command ( char *  name)

Definition at line 2672 of file objects.c.

contact* find_contact ( char *  name)

Definition at line 2646 of file objects.c.

contactgroup* find_contactgroup ( char *  name)

Definition at line 2659 of file objects.c.

host* find_host ( char *  name)

Definition at line 2607 of file objects.c.

hostgroup* find_hostgroup ( char *  name)

Definition at line 2620 of file objects.c.

module* find_module ( char *  name)

Definition at line 2699 of file objects.c.

service* find_service ( char *  host_name,
char *  svc_desc 
)

Definition at line 2685 of file objects.c.

servicegroup* find_servicegroup ( char *  name)

Definition at line 2633 of file objects.c.

timeperiod* find_timeperiod ( char *  name)

Definition at line 2594 of file objects.c.

int free_object_data ( void  )

Definition at line 3362 of file objects.c.

int free_object_skiplists ( void  )

Definition at line 136 of file objects.c.

hostdependency* get_first_hostdependency_by_dependent_host ( char *  host_name,
void **  ptr 
)

Definition at line 2766 of file objects.c.

hostescalation* get_first_hostescalation_by_host ( char *  host_name,
void **  ptr 
)

Definition at line 2716 of file objects.c.

servicedependency* get_first_servicedependency_by_dependent_service ( char *  host_name,
char *  svc_description,
void **  ptr 
)

Definition at line 2790 of file objects.c.

serviceescalation* get_first_serviceescalation_by_service ( char *  host_name,
char *  svc_description,
void **  ptr 
)

Definition at line 2740 of file objects.c.

int get_host_count ( void  )

Definition at line 408 of file objects.c.

hostdependency* get_next_hostdependency_by_dependent_host ( char *  host_name,
void **  ptr 
)

Definition at line 2778 of file objects.c.

hostescalation* get_next_hostescalation_by_host ( char *  host_name,
void **  ptr 
)

Definition at line 2728 of file objects.c.

servicedependency* get_next_servicedependency_by_dependent_service ( char *  host_name,
char *  svc_description,
void **  ptr 
)

Definition at line 2803 of file objects.c.

serviceescalation* get_next_serviceescalation_by_service ( char *  host_name,
char *  svc_description,
void **  ptr 
)

Definition at line 2753 of file objects.c.

int get_service_count ( void  )

Definition at line 417 of file objects.c.

int init_object_skiplists ( void  )

Definition at line 108 of file objects.c.

int is_contact_for_host ( host hst,
contact cntct 
)

Definition at line 3073 of file objects.c.

int is_contact_for_service ( service svc,
contact cntct 
)

Definition at line 3162 of file objects.c.

int is_contact_member_of_contactgroup ( contactgroup group,
contact cntct 
)

Definition at line 3048 of file objects.c.

int is_escalated_contact_for_host ( host hst,
contact cntct 
)

Definition at line 3116 of file objects.c.

int is_escalated_contact_for_service ( service svc,
contact cntct 
)

Definition at line 3204 of file objects.c.

int is_host_immediate_child_of_host ( host parent_host,
host child_host 
)

Definition at line 2878 of file objects.c.

int is_host_immediate_parent_of_host ( host child_host,
host parent_host 
)

Definition at line 2910 of file objects.c.

int is_host_member_of_hostgroup ( hostgroup group,
host hst 
)

Definition at line 2983 of file objects.c.

int is_host_member_of_servicegroup ( servicegroup group,
host hst 
)

Definition at line 3005 of file objects.c.

int is_service_member_of_servicegroup ( servicegroup group,
service svc 
)

Definition at line 3027 of file objects.c.

int number_of_immediate_child_hosts ( host hst)

Definition at line 2921 of file objects.c.

int number_of_immediate_parent_hosts ( host hst)

Definition at line 2951 of file objects.c.

int number_of_total_child_hosts ( host hst)

Definition at line 2936 of file objects.c.

int number_of_total_parent_hosts ( host hst)

Definition at line 2967 of file objects.c.

int read_object_config_data ( char *  main_config_file,
int  options,
int  cache,
int  precache 
)

Definition at line 85 of file objects.c.

int skiplist_compare_command ( void *  a,
void *  b 
)

Definition at line 211 of file objects.c.

int skiplist_compare_contact ( void *  a,
void *  b 
)

Definition at line 247 of file objects.c.

int skiplist_compare_contactgroup ( void *  a,
void *  b 
)

Definition at line 265 of file objects.c.

int skiplist_compare_host ( void *  a,
void *  b 
)

Definition at line 175 of file objects.c.

int skiplist_compare_hostdependency ( void *  a,
void *  b 
)

Definition at line 355 of file objects.c.

int skiplist_compare_hostescalation ( void *  a,
void *  b 
)

Definition at line 319 of file objects.c.

int skiplist_compare_hostgroup ( void *  a,
void *  b 
)

Definition at line 283 of file objects.c.

int skiplist_compare_module ( void *  a,
void *  b 
)

Definition at line 390 of file objects.c.

int skiplist_compare_service ( void *  a,
void *  b 
)

Definition at line 193 of file objects.c.

int skiplist_compare_servicedependency ( void *  a,
void *  b 
)

Definition at line 373 of file objects.c.

int skiplist_compare_serviceescalation ( void *  a,
void *  b 
)

Definition at line 337 of file objects.c.

int skiplist_compare_servicegroup ( void *  a,
void *  b 
)

Definition at line 301 of file objects.c.

int skiplist_compare_text ( const char *  val1a,
const char *  val1b,
const char *  val2a,
const char *  val2b 
)

Definition at line 146 of file objects.c.

int skiplist_compare_timeperiod ( void *  a,
void *  b 
)

Definition at line 229 of file objects.c.


Variable Documentation

Definition at line 58 of file objects.c.

Definition at line 58 of file objects.c.

Definition at line 54 of file objects.c.

Definition at line 54 of file objects.c.

Definition at line 55 of file objects.c.

Definition at line 55 of file objects.c.

host* host_list = NULL

Definition at line 52 of file objects.c.

host * host_list_tail = NULL

Definition at line 52 of file objects.c.

Definition at line 62 of file objects.c.

Definition at line 62 of file objects.c.

Definition at line 63 of file objects.c.

Definition at line 63 of file objects.c.

Definition at line 56 of file objects.c.

Definition at line 56 of file objects.c.

Definition at line 64 of file objects.c.

Definition at line 64 of file objects.c.

skiplist* object_skiplists[NUM_OBJECT_SKIPLISTS]

Definition at line 66 of file objects.c.

Definition at line 53 of file objects.c.

Definition at line 53 of file objects.c.

Definition at line 61 of file objects.c.

Definition at line 61 of file objects.c.

Definition at line 60 of file objects.c.

Definition at line 60 of file objects.c.

Definition at line 57 of file objects.c.

Definition at line 57 of file objects.c.

Definition at line 59 of file objects.c.

Definition at line 59 of file objects.c.

 All Data Structures Files Functions Variables Typedefs Defines