diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-05-20 01:05:35 -0400 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-05-20 01:05:35 -0400 |
commit | 0489df95fc5ab2c84cd7830df97942a874e431d9 (patch) | |
tree | be2615d44c1f1b86cf668ce55c5e42dc3e3c28f8 /plugins/netutils.h | |
parent | 56cf66c9b815ed953245476b7c715f15cf053763 (diff) | |
download | monitoring-plugins-0489df95fc5ab2c84cd7830df97942a874e431d9.tar.gz |
check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey)
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r-- | plugins/netutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h index b479b741..572a3ae2 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
@@ -99,6 +99,7 @@ extern int address_family; | |||
99 | #ifdef HAVE_SSL | 99 | #ifdef HAVE_SSL |
100 | /* maybe this could be merged with the above np_net_connect, via some flags */ | 100 | /* maybe this could be merged with the above np_net_connect, via some flags */ |
101 | int np_net_ssl_init(int sd); | 101 | int np_net_ssl_init(int sd); |
102 | int np_net_ssl_init_with_hostname(int sd, char *host_name); | ||
102 | void np_net_ssl_cleanup(); | 103 | void np_net_ssl_cleanup(); |
103 | int np_net_ssl_write(const void *buf, int num); | 104 | int np_net_ssl_write(const void *buf, int num); |
104 | int np_net_ssl_read(void *buf, int num); | 105 | int np_net_ssl_read(void *buf, int num); |