diff options
author | Lionel Cons <lionel.cons@cern.ch> | 2013-05-17 15:00:09 +0200 |
---|---|---|
committer | Lionel Cons <lionel.cons@cern.ch> | 2013-05-17 15:00:09 +0200 |
commit | 2f92d0dab77a3f3b1005dae3401ea1316d6789b2 (patch) | |
tree | 09dc9a8967680b8d2b27cea698f629b40bc1aab7 /plugins/netutils.h | |
parent | 1fd504b6117af25d3baa0c1afc5dbf7fc3c66f2c (diff) | |
download | monitoring-plugins-2f92d0dab77a3f3b1005dae3401ea1316d6789b2.tar.gz |
added support for client authentication via SSL
Diffstat (limited to 'plugins/netutils.h')
-rw-r--r-- | plugins/netutils.h | 2 |
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; | |||
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 | int np_net_ssl_init_with_hostname(int sd, char *host_name); |
103 | int np_net_ssl_init_with_hostname_and_version(int sd, char *host_name, int version); | ||
104 | int np_net_ssl_init_with_hostname_version_and_certificate(int sd, char *host_name, int version, char *cert, char *privkey); | ||
103 | void np_net_ssl_cleanup(); | 105 | void np_net_ssl_cleanup(); |
104 | int np_net_ssl_write(const void *buf, int num); | 106 | int np_net_ssl_write(const void *buf, int num); |
105 | int np_net_ssl_read(void *buf, int num); | 107 | int np_net_ssl_read(void *buf, int num); |