Code

Fix compilation with GCC 2.96 (Konstantin Khomoutov - #2977105)
[nagiosplug.git] / plugins / netutils.h
index b479b7411b7682beac07817e6e33c0ef2caa7e4d..572a3ae2253c9417bd2d764b372387213cc2f17a 100644 (file)
@@ -99,6 +99,7 @@ extern int address_family;
 #ifdef HAVE_SSL
 /* maybe this could be merged with the above np_net_connect, via some flags */
 int np_net_ssl_init(int sd);
+int np_net_ssl_init_with_hostname(int sd, char *host_name);
 void np_net_ssl_cleanup();
 int np_net_ssl_write(const void *buf, int num);
 int np_net_ssl_read(void *buf, int num);