![]() |
Icinga-core 1.4.0
next gen monitoring
|
#include "../include/config.h"#include "../include/common.h"#include "../include/comments.h"#include "../include/objects.h"Go to the source code of this file.
Functions | |
| int | add_comment_to_hashlist (comment *new_comment) |
| int | add_host_comment (int entry_type, char *host_name, time_t entry_time, char *author, char *comment_data, unsigned long comment_id, int persistent, int expires, time_t expire_time, int source) |
| int | add_service_comment (int entry_type, char *host_name, char *svc_description, time_t entry_time, char *author, char *comment_data, unsigned long comment_id, int persistent, int expires, time_t expire_time, int source) |
| int | add_comment (int comment_type, int entry_type, char *host_name, char *svc_description, time_t entry_time, char *author, char *comment_data, unsigned long comment_id, int persistent, int expires, time_t expire_time, int source) |
| int | sort_comments (void) |
| void | free_comment_data (void) |
| int | number_of_host_comments (char *host_name) |
| int | number_of_service_comments (char *host_name, char *svc_description) |
| comment * | get_first_comment_by_host (char *host_name) |
| comment * | get_next_comment_by_host (char *host_name, comment *start) |
| comment * | find_service_comment (unsigned long comment_id) |
| comment * | find_host_comment (unsigned long comment_id) |
| comment * | find_comment (unsigned long comment_id, int comment_type) |
| comment * | find_comment_by_similar_content (int comment_type, char *hostname, char *service_description, char *author, char *comment_data) |
Variables | |
| comment * | comment_list = NULL |
| int | defer_comment_sorting = 0 |
| comment ** | comment_hashlist = NULL |
| int add_comment | ( | int | comment_type, |
| int | entry_type, | ||
| char * | host_name, | ||
| char * | svc_description, | ||
| time_t | entry_time, | ||
| char * | author, | ||
| char * | comment_data, | ||
| unsigned long | comment_id, | ||
| int | persistent, | ||
| int | expires, | ||
| time_t | expire_time, | ||
| int | source | ||
| ) |
Definition at line 454 of file comments.c.
| int add_comment_to_hashlist | ( | comment * | new_comment | ) |
Definition at line 386 of file comments.c.
| int add_host_comment | ( | int | entry_type, |
| char * | host_name, | ||
| time_t | entry_time, | ||
| char * | author, | ||
| char * | comment_data, | ||
| unsigned long | comment_id, | ||
| int | persistent, | ||
| int | expires, | ||
| time_t | expire_time, | ||
| int | source | ||
| ) |
Definition at line 432 of file comments.c.
| int add_service_comment | ( | int | entry_type, |
| char * | host_name, | ||
| char * | svc_description, | ||
| time_t | entry_time, | ||
| char * | author, | ||
| char * | comment_data, | ||
| unsigned long | comment_id, | ||
| int | persistent, | ||
| int | expires, | ||
| time_t | expire_time, | ||
| int | source | ||
| ) |
Definition at line 443 of file comments.c.
| comment* find_comment | ( | unsigned long | comment_id, |
| int | comment_type | ||
| ) |
Definition at line 704 of file comments.c.
| comment* find_comment_by_similar_content | ( | int | comment_type, |
| char * | hostname, | ||
| char * | service_description, | ||
| char * | author, | ||
| char * | comment_data | ||
| ) |
Definition at line 718 of file comments.c.
| comment* find_host_comment | ( | unsigned long | comment_id | ) |
Definition at line 697 of file comments.c.
| comment* find_service_comment | ( | unsigned long | comment_id | ) |
Definition at line 690 of file comments.c.
| void free_comment_data | ( | void | ) |
Definition at line 590 of file comments.c.
| comment* get_first_comment_by_host | ( | char * | host_name | ) |
Definition at line 658 of file comments.c.
Definition at line 664 of file comments.c.
| int number_of_host_comments | ( | char * | host_name | ) |
Definition at line 620 of file comments.c.
| int number_of_service_comments | ( | char * | host_name, |
| char * | svc_description | ||
| ) |
Definition at line 637 of file comments.c.
| int sort_comments | ( | void | ) |
Definition at line 550 of file comments.c.
| comment** comment_hashlist = NULL |
Definition at line 49 of file comments.c.
| comment* comment_list = NULL |
Definition at line 47 of file comments.c.
| int defer_comment_sorting = 0 |
Definition at line 48 of file comments.c.