diff options
author | Martin Willi <martin@revosec.ch> | 2014-01-08 12:23:13 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-06-04 15:53:07 +0200 |
commit | 1cd9bb49d8d9690a3e0130be59138a788b9b3849 (patch) | |
tree | f7224c205f1839d24c933884ded4cfbd03ffb7e4 /src | |
parent | 6b98c002855cfca41c51f6d2d929f0554cdc94b1 (diff) | |
download | strongswan-1cd9bb49d8d9690a3e0130be59138a788b9b3849.tar.bz2 strongswan-1cd9bb49d8d9690a3e0130be59138a788b9b3849.tar.xz |
libimcv: Use TNC_IMV_API prefix on TNC functions for correct declspec
Diffstat (limited to 'src')
-rw-r--r-- | src/libimcv/imv/imv_if.h | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/src/libimcv/imv/imv_if.h b/src/libimcv/imv/imv_if.h index fa9765b11..2118509e3 100644 --- a/src/libimcv/imv/imv_if.h +++ b/src/libimcv/imv/imv_if.h @@ -26,10 +26,10 @@ static imv_agent_if_t *imv_agent; /* * see section 3.8.1 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_Initialize(TNC_IMVID imv_id, - TNC_Version min_version, - TNC_Version max_version, - TNC_Version *actual_version) +TNC_Result TNC_IMV_API TNC_IMV_Initialize(TNC_IMVID imv_id, + TNC_Version min_version, + TNC_Version max_version, + TNC_Version *actual_version) { if (imv_agent) { @@ -54,9 +54,9 @@ TNC_Result TNC_IMV_Initialize(TNC_IMVID imv_id, /** * see section 3.8.2 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_NotifyConnectionChange(TNC_IMVID imv_id, - TNC_ConnectionID connection_id, - TNC_ConnectionState new_state) +TNC_Result TNC_IMV_API TNC_IMV_NotifyConnectionChange(TNC_IMVID imv_id, + TNC_ConnectionID connection_id, + TNC_ConnectionState new_state) { if (!imv_agent) { @@ -70,11 +70,11 @@ TNC_Result TNC_IMV_NotifyConnectionChange(TNC_IMVID imv_id, /** * see section 3.8.4 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_ReceiveMessage(TNC_IMVID imv_id, - TNC_ConnectionID connection_id, - TNC_BufferReference msg, - TNC_UInt32 msg_len, - TNC_MessageType msg_type) +TNC_Result TNC_IMV_API TNC_IMV_ReceiveMessage(TNC_IMVID imv_id, + TNC_ConnectionID connection_id, + TNC_BufferReference msg, + TNC_UInt32 msg_len, + TNC_MessageType msg_type) { if (!imv_agent) { @@ -88,15 +88,15 @@ TNC_Result TNC_IMV_ReceiveMessage(TNC_IMVID imv_id, /** * see section 3.8.6 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_ReceiveMessageLong(TNC_IMVID imv_id, - TNC_ConnectionID connection_id, - TNC_UInt32 msg_flags, - TNC_BufferReference msg, - TNC_UInt32 msg_len, - TNC_VendorID msg_vid, - TNC_MessageSubtype msg_subtype, - TNC_UInt32 src_imc_id, - TNC_UInt32 dst_imv_id) +TNC_Result TNC_IMV_API TNC_IMV_ReceiveMessageLong(TNC_IMVID imv_id, + TNC_ConnectionID connection_id, + TNC_UInt32 msg_flags, + TNC_BufferReference msg, + TNC_UInt32 msg_len, + TNC_VendorID msg_vid, + TNC_MessageSubtype msg_subtype, + TNC_UInt32 src_imc_id, + TNC_UInt32 dst_imv_id) { if (!imv_agent) { @@ -111,8 +111,8 @@ TNC_Result TNC_IMV_ReceiveMessageLong(TNC_IMVID imv_id, /** * see section 3.8.7 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_SolicitRecommendation(TNC_IMVID imv_id, - TNC_ConnectionID connection_id) +TNC_Result TNC_IMV_API TNC_IMV_SolicitRecommendation(TNC_IMVID imv_id, + TNC_ConnectionID connection_id) { if (!imv_agent) @@ -126,7 +126,8 @@ TNC_Result TNC_IMV_SolicitRecommendation(TNC_IMVID imv_id, /** * see section 3.8.8 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_BatchEnding(TNC_IMVID imv_id, TNC_ConnectionID connection_id) +TNC_Result TNC_IMV_API TNC_IMV_BatchEnding(TNC_IMVID imv_id, + TNC_ConnectionID connection_id) { if (!imv_agent) { @@ -139,7 +140,7 @@ TNC_Result TNC_IMV_BatchEnding(TNC_IMVID imv_id, TNC_ConnectionID connection_id) /** * see section 3.8.9 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_Terminate(TNC_IMVID imv_id) +TNC_Result TNC_IMV_API TNC_IMV_Terminate(TNC_IMVID imv_id) { if (!imv_agent) { @@ -155,8 +156,8 @@ TNC_Result TNC_IMV_Terminate(TNC_IMVID imv_id) /** * see section 4.2.8.1 of TCG TNC IF-IMV Specification 1.3 */ -TNC_Result TNC_IMV_ProvideBindFunction(TNC_IMVID imv_id, - TNC_TNCS_BindFunctionPointer bind_function) +TNC_Result TNC_IMV_API TNC_IMV_ProvideBindFunction(TNC_IMVID imv_id, + TNC_TNCS_BindFunctionPointer bind_function) { if (!imv_agent) { |