aboutsummaryrefslogtreecommitdiff
path: root/plugins/netutils.h
diff options
context:
space:
mode:
authorGravatar Lionel Cons <lionel.cons@cern.ch> 2013-05-17 15:00:09 +0200
committerGravatar Lionel Cons <lionel.cons@cern.ch> 2013-05-17 15:00:09 +0200
commit2f92d0dab77a3f3b1005dae3401ea1316d6789b2 (patch)
tree09dc9a8967680b8d2b27cea698f629b40bc1aab7 /plugins/netutils.h
parent1fd504b6117af25d3baa0c1afc5dbf7fc3c66f2c (diff)
downloadmonitoring-plugins-2f92d0dab77a3f3b1005dae3401ea1316d6789b2.tar.gz
added support for client authentication via SSL
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r--plugins/netutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/netutils.h b/plugins/netutils.h
index 21017f1f..765b3d5f 100644
--- a/plugins/netutils.h
+++ b/plugins/netutils.h
@@ -100,6 +100,8 @@ extern int address_family;
/* 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);
+int np_net_ssl_init_with_hostname_and_version(int sd, char *host_name, int version);
+int np_net_ssl_init_with_hostname_version_and_certificate(int sd, char *host_name, int version, char *cert, char *privkey);
void np_net_ssl_cleanup();
int np_net_ssl_write(const void *buf, int num);
int np_net_ssl_read(void *buf, int num);