diff options
Diffstat (limited to 'plugins/check_curl.d/config.h')
| -rw-r--r-- | plugins/check_curl.d/config.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_curl.d/config.h b/plugins/check_curl.d/config.h index 9085fbbb..90ea3810 100644 --- a/plugins/check_curl.d/config.h +++ b/plugins/check_curl.d/config.h | |||
| @@ -48,7 +48,7 @@ typedef struct { | |||
| 48 | char *http_method; | 48 | char *http_method; |
| 49 | char user_agent[DEFAULT_BUFFER_SIZE]; | 49 | char user_agent[DEFAULT_BUFFER_SIZE]; |
| 50 | char **http_opt_headers; | 50 | char **http_opt_headers; |
| 51 | int http_opt_headers_count; | 51 | size_t http_opt_headers_count; |
| 52 | char *http_post_data; | 52 | char *http_post_data; |
| 53 | int max_depth; | 53 | int max_depth; |
| 54 | char *http_content_type; | 54 | char *http_content_type; |
| @@ -63,7 +63,7 @@ typedef struct { | |||
| 63 | 63 | ||
| 64 | int maximum_age; | 64 | int maximum_age; |
| 65 | char regexp[MAX_RE_SIZE]; | 65 | char regexp[MAX_RE_SIZE]; |
| 66 | int state_regex; | 66 | mp_state_enum state_regex; |
| 67 | bool invert_regex; | 67 | bool invert_regex; |
| 68 | bool verify_peer_and_host; | 68 | bool verify_peer_and_host; |
| 69 | bool check_cert; | 69 | bool check_cert; |
| @@ -71,13 +71,13 @@ typedef struct { | |||
| 71 | int days_till_exp_warn; | 71 | int days_till_exp_warn; |
| 72 | int days_till_exp_crit; | 72 | int days_till_exp_crit; |
| 73 | thresholds *thlds; | 73 | thresholds *thlds; |
| 74 | int min_page_len; | 74 | size_t min_page_len; |
| 75 | int max_page_len; | 75 | size_t max_page_len; |
| 76 | char server_expect[MAX_INPUT_BUFFER]; | 76 | char server_expect[MAX_INPUT_BUFFER]; |
| 77 | bool server_expect_yn; | 77 | bool server_expect_yn; |
| 78 | char string_expect[MAX_INPUT_BUFFER]; | 78 | char string_expect[MAX_INPUT_BUFFER]; |
| 79 | char header_expect[MAX_INPUT_BUFFER]; | 79 | char header_expect[MAX_INPUT_BUFFER]; |
| 80 | int onredirect; | 80 | mp_state_enum onredirect; |
| 81 | 81 | ||
| 82 | bool show_extended_perfdata; | 82 | bool show_extended_perfdata; |
| 83 | bool show_body; | 83 | bool show_body; |
| @@ -100,7 +100,7 @@ check_curl_config check_curl_config_init() { | |||
| 100 | .use_ssl = false, | 100 | .use_ssl = false, |
| 101 | .ssl_version = CURL_SSLVERSION_DEFAULT, | 101 | .ssl_version = CURL_SSLVERSION_DEFAULT, |
| 102 | .http_method = NULL, | 102 | .http_method = NULL, |
| 103 | .user_agent = {}, | 103 | .user_agent = {'\0'}, |
| 104 | .http_opt_headers = NULL, | 104 | .http_opt_headers = NULL, |
| 105 | .http_opt_headers_count = 0, | 105 | .http_opt_headers_count = 0, |
| 106 | .http_post_data = NULL, | 106 | .http_post_data = NULL, |
