aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtnccs/tnc/tnccs
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-12-08 14:52:08 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-12-08 14:52:08 +0100
commitd6c892169cdf29272016ff44f5ad0daf3ba06cbe (patch)
tree71bfc8dbe43c31e0bb05399d7a95d30f2685ea98 /src/libtnccs/tnc/tnccs
parent584282d7c9e8a3c67bf9ddbb595308ab0b559dff (diff)
downloadstrongswan-d6c892169cdf29272016ff44f5ad0daf3ba06cbe.tar.bz2
strongswan-d6c892169cdf29272016ff44f5ad0daf3ba06cbe.tar.xz
added TNC_TNCC_GetAttribute() and TNC_TNCC_SetAttribute() functions
Diffstat (limited to 'src/libtnccs/tnc/tnccs')
-rw-r--r--src/libtnccs/tnc/tnccs/tnccs_manager.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/libtnccs/tnc/tnccs/tnccs_manager.h b/src/libtnccs/tnc/tnccs/tnccs_manager.h
index 0720fb4ab..fb5eaf50a 100644
--- a/src/libtnccs/tnc/tnccs/tnccs_manager.h
+++ b/src/libtnccs/tnc/tnccs/tnccs_manager.h
@@ -142,7 +142,8 @@ struct tnccs_manager_t {
* Get the value of an attribute associated with a connection or with the
* TNCS as a whole.
*
- * @param imv_id ID of the IMV requesting the attribute
+ * @param is_imc TRUE if IMC, FALSE if IMV
+ * @param imcv_id ID of the IMC/IMV requesting the attribute
* @param id ID of target connection
* @param attribute_id ID of the requested attribute
* @param buffer_len length of the buffer in bytes
@@ -150,8 +151,8 @@ struct tnccs_manager_t {
* @param out_value_len actual length of the returned attribute
* @return return code
*/
- TNC_Result (*get_attribute)(tnccs_manager_t *this,
- TNC_IMVID imv_id,
+ TNC_Result (*get_attribute)(tnccs_manager_t *this, bool is_imc,
+ TNC_UInt32 imcv_id,
TNC_ConnectionID id,
TNC_AttributeID attribute_id,
TNC_UInt32 buffer_len,
@@ -162,15 +163,16 @@ struct tnccs_manager_t {
* Set the value of an attribute associated with a connection or with the
* TNCS as a whole.
*
- * @param imv_id ID of the IMV setting the attribute
+ * @param is_imc TRUE if IMC, FALSE if IMV
+ * @param imcv_id ID of the IMC/IMV setting the attribute
* @param id ID of target connection
* @param attribute_id ID of the attribute to be set
* @param buffer_len length of the buffer in bytes
* @param buffer pointer to the buffer
* @return return code
*/
- TNC_Result (*set_attribute)(tnccs_manager_t *this,
- TNC_IMVID imv_id,
+ TNC_Result (*set_attribute)(tnccs_manager_t *this, bool is_imc,
+ TNC_UInt32 imcv_id,
TNC_ConnectionID id,
TNC_AttributeID attribute_id,
TNC_UInt32 buffer_len,