diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-05-14 13:31:16 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-05-14 13:31:16 +0200 |
commit | cc546c3ce6a12165f4e73bd19d2cf4c0c192547c (patch) | |
tree | 280196f0aa94d38a69395f5aac37d3fc315afe9f /src/libcharon/tnc/tnccs/tnccs.h | |
parent | 0e080d9b64d819236f604d605d2fa9b0f43d3863 (diff) | |
download | strongswan-cc546c3ce6a12165f4e73bd19d2cf4c0c192547c.tar.bz2 strongswan-cc546c3ce6a12165f4e73bd19d2cf4c0c192547c.tar.xz |
Restrict IMCs and IMVs to call SendMessage()
Diffstat (limited to 'src/libcharon/tnc/tnccs/tnccs.h')
-rw-r--r-- | src/libcharon/tnc/tnccs/tnccs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/tnc/tnccs/tnccs.h b/src/libcharon/tnc/tnccs/tnccs.h index c5d6f5ef0..32f065f67 100644 --- a/src/libcharon/tnc/tnccs/tnccs.h +++ b/src/libcharon/tnc/tnccs/tnccs.h @@ -72,8 +72,9 @@ typedef tnccs_t* (*tnccs_constructor_t)(bool is_server); * @param msg message to be added * @param msg_len message length * @param msg_type message type + * @return result code */ -typedef void (*tnccs_send_message_t)(tnccs_t* tncss, TNC_IMCID imc_id, +typedef TNC_Result (*tnccs_send_message_t)(tnccs_t* tncss, TNC_IMCID imc_id, TNC_IMVID imv_id, TNC_BufferReference msg, TNC_UInt32 msg_len, |