aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpttls/pt_tls_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpttls/pt_tls_client.h')
-rw-r--r--src/libpttls/pt_tls_client.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libpttls/pt_tls_client.h b/src/libpttls/pt_tls_client.h
index 36ab8c006..2e0553641 100644
--- a/src/libpttls/pt_tls_client.h
+++ b/src/libpttls/pt_tls_client.h
@@ -21,6 +21,9 @@
#ifndef PT_TLS_CLIENT_H_
#define PT_TLS_CLIENT_H_
+#include <networking/host.h>
+#include <utils/identification.h>
+
#include <tnc/tnccs/tnccs.h>
typedef struct pt_tls_client_t pt_tls_client_t;
@@ -47,10 +50,10 @@ struct pt_tls_client_t {
/**
* Create a pt_tls_client instance.
*
- * @param server server address to run assessments against
- * @param port server TCP port to connect to
+ * @param address address/port to run assessments against, gets owned
+ * @param id server identity to use for authentication, gets owned
* @return PT-TLS context
*/
-pt_tls_client_t *pt_tls_client_create(char *server, u_int16_t port);
+pt_tls_client_t *pt_tls_client_create(host_t *address, identification_t *id);
#endif /** PT_TLS_CLIENT_H_ @}*/