aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtnccs/tnc/tnccs/tnccs.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-01-17 23:32:34 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-02-11 15:30:44 +0100
commitebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451 (patch)
tree0013fdd9de19f5605558af10797287a9478ea6f9 /src/libtnccs/tnc/tnccs/tnccs.h
parent98063d8187d6894f4698d689e7c5a3affbcd1622 (diff)
downloadstrongswan-ebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451.tar.bz2
strongswan-ebb87f08f7cb3b5402cea1d7ad7e3ef559bd3451.tar.xz
Make IKE/EAP IDs available to TNC server/client
Diffstat (limited to 'src/libtnccs/tnc/tnccs/tnccs.h')
-rw-r--r--src/libtnccs/tnc/tnccs/tnccs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libtnccs/tnc/tnccs/tnccs.h b/src/libtnccs/tnc/tnccs/tnccs.h
index c3020d7c3..530562e7f 100644
--- a/src/libtnccs/tnc/tnccs/tnccs.h
+++ b/src/libtnccs/tnc/tnccs/tnccs.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Andreas Steffen
+ * Copyright (C) 2010-2013 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -54,9 +54,13 @@ extern enum_name_t *tnccs_type_names;
* Constructor definition for a pluggable TNCCS protocol implementation.
*
* @param is_server TRUE if TNC Server, FALSE if TNC Client
+ * @param server Server identity
+ * @param peer Client identity
* @return implementation of the tnccs_t interface
*/
-typedef tnccs_t *(*tnccs_constructor_t)(bool is_server);
+typedef tnccs_t *(*tnccs_constructor_t)(bool is_server,
+ identification_t *server,
+ identification_t *peer);
/**
* Callback function adding a message to a TNCCS batch