summaryrefslogtreecommitdiffstats
path: root/plugins/netutils.h
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-05-20 05:05:35 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-05-20 05:05:35 (GMT)
commit0489df95fc5ab2c84cd7830df97942a874e431d9 (patch)
treebe2615d44c1f1b86cf668ce55c5e42dc3e3c28f8 /plugins/netutils.h
parent56cf66c9b815ed953245476b7c715f15cf053763 (diff)
downloadmonitoring-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index b479b74..572a3ae 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 */
101int np_net_ssl_init(int sd); 101int np_net_ssl_init(int sd);
102int np_net_ssl_init_with_hostname(int sd, char *host_name);
102void np_net_ssl_cleanup(); 103void np_net_ssl_cleanup();
103int np_net_ssl_write(const void *buf, int num); 104int np_net_ssl_write(const void *buf, int num);
104int np_net_ssl_read(void *buf, int num); 105int np_net_ssl_read(void *buf, int num);