aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtnccs/tnc/tnccs/tnccs.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-02-12 20:38:05 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-02-12 20:38:05 +0100
commit2a421163bf4ff8f541187c88d6b7c67529cec6bd (patch)
tree16ac649a2c7511b222019218306457083b9f3f1f /src/libtnccs/tnc/tnccs/tnccs.h
parent3e56352815ec786c69ca43c9f89b35ccc7634427 (diff)
downloadstrongswan-2a421163bf4ff8f541187c88d6b7c67529cec6bd.tar.bz2
strongswan-2a421163bf4ff8f541187c88d6b7c67529cec6bd.tar.xz
make TNC client authentication type available to IMVs
Diffstat (limited to 'src/libtnccs/tnc/tnccs/tnccs.h')
-rw-r--r--src/libtnccs/tnc/tnccs/tnccs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libtnccs/tnc/tnccs/tnccs.h b/src/libtnccs/tnc/tnccs/tnccs.h
index 3c7249fb0..81d393684 100644
--- a/src/libtnccs/tnc/tnccs/tnccs.h
+++ b/src/libtnccs/tnc/tnccs/tnccs.h
@@ -82,9 +82,20 @@ struct tnccs_t {
/**
* Set underlying TNC IF-T transport protocol
+
*/
void (*set_transport)(tnccs_t *this, tnc_ift_type_t transport);
+ /**
+ * Get type of TNC Client authentication
+ */
+ u_int32_t (*get_auth_type)(tnccs_t *this);
+
+ /**
+ * Set type of TNC Client authentication
+ */
+ void (*set_auth_type)(tnccs_t *this, u_int32_t auth_type);
+
};
/**