nagios4/t-tap/stub_downtime.c

9 lines
646 B
C
Raw Normal View History

2017-05-19 22:22:40 +02:00
/* Stub for common/downtime.c */
2017-05-19 23:37:19 +02:00
unsigned long next_downtime_id = 0;
2017-05-19 22:22:40 +02:00
int schedule_downtime(int type, char *host_name, char *service_description, time_t entry_time, char *author, char *comment_data, time_t start_time, time_t end_time, int fixed, unsigned long triggered_by, unsigned long duration, unsigned long *new_downtime_id) {}
int unschedule_downtime(int type, unsigned long downtime_id) {}
int check_pending_flex_host_downtime(host *hst) {}
2017-05-19 23:37:19 +02:00
int check_pending_flex_service_downtime(service *svc) { return OK; }
int handle_scheduled_downtime_by_id(unsigned long downtime_id) { return OK; }
int check_for_expired_downtime(void) { return OK; }