diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-12 20:38:05 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-12 20:38:05 +0100 |
commit | 2a421163bf4ff8f541187c88d6b7c67529cec6bd (patch) | |
tree | 16ac649a2c7511b222019218306457083b9f3f1f /src/libtnccs/tnc/tnccs/tnccs.h | |
parent | 3e56352815ec786c69ca43c9f89b35ccc7634427 (diff) | |
download | strongswan-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.h | 11 |
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); + }; /** |