nagios4/t-tap/stub_comments.c
2017-05-19 23:37:19 +02:00

12 lines
1.1 KiB
C

/* Stub file for comments.c */
int delete_service_comment(unsigned long comment_id) {}
int delete_host_comment(unsigned long comment_id) {}
int add_new_comment(int type, int entry_type, char *host_name, char *svc_description, time_t entry_time, char *author_name, char *comment_data, int persistent, int source, int expires, time_t expire_time, unsigned long *comment_id) {}
int delete_service_acknowledgement_comments(service *svc) {}
int delete_host_acknowledgement_comments(host *hst) {}
int add_new_service_comment(int entry_type, char *host_name, char *svc_description, time_t entry_time, char *author_name, char *comment_data, int persistent, int source, int expires, time_t expire_time, unsigned long *comment_id) {}
int add_new_host_comment(int entry_type, char *host_name, time_t entry_time, char *author_name, char *comment_data, int persistent, int source, int expires, time_t expire_time, unsigned long *comment_id) {}
int delete_all_comments(int type, char *host_name, char *svc_description) {}
void free_comment_data(void) {}
int check_for_expired_comment(unsigned long comment_id) { return OK; }