diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 01:57:40 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 01:57:40 +0200 |
commit | f5f4a021a2760d553e3e4cdedd291eb815750369 (patch) | |
tree | d41b56d231c7e0c7b5b92aa4e90c20d95bf50cfb /plugins/netutils.h | |
parent | c15d12cbd5008de74dccd6f716e418feffed5560 (diff) | |
download | monitoring-plugins-f5f4a021a2760d553e3e4cdedd291eb815750369.tar.gz |
Add new cert check function
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r-- | plugins/netutils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h index c53b3cef..6adb8e01 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
@@ -32,6 +32,7 @@ | |||
32 | #define _NETUTILS_H_ | 32 | #define _NETUTILS_H_ |
33 | 33 | ||
34 | #include "common.h" | 34 | #include "common.h" |
35 | #include "output.h" | ||
35 | #include "states.h" | 36 | #include "states.h" |
36 | #include "utils.h" | 37 | #include "utils.h" |
37 | #include <netinet/in.h> | 38 | #include <netinet/in.h> |
@@ -114,6 +115,6 @@ void np_net_ssl_cleanup(); | |||
114 | int np_net_ssl_write(const void *buf, int num); | 115 | int np_net_ssl_write(const void *buf, int num); |
115 | int np_net_ssl_read(void *buf, int num); | 116 | int np_net_ssl_read(void *buf, int num); |
116 | mp_state_enum np_net_ssl_check_cert(int days_till_exp_warn, int days_till_exp_crit); | 117 | mp_state_enum np_net_ssl_check_cert(int days_till_exp_warn, int days_till_exp_crit); |
118 | mp_subcheck mp_net_ssl_check_cert(int days_till_exp_warn, int days_till_exp_crit); | ||
117 | #endif /* HAVE_SSL */ | 119 | #endif /* HAVE_SSL */ |
118 | |||
119 | #endif /* _NETUTILS_H_ */ | 120 | #endif /* _NETUTILS_H_ */ |