00001 #ifndef __IGC_DESTINATION_DLL_H__
00002 #define __IGC_DESTINATION_DLL_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #include <IGC/IGCminimumInclude.h>
00024
00025 #ifndef __IGC_DESTINATION_HANDLE_H__
00026 #define __IGC_DESTINATION_HANDLE_H__
00027 typedef void* IGCdestinationHandle;
00028 #endif
00029
00030
00031 IGC_DLL_FUNC(IGCdestinationCreate)
00032 (
00033 IGCdestinationHandle* pResult
00034 );
00035
00036 IGC_DLL_FUNC(IGCdestinationAddRef)
00037 (
00038 IGCdestinationHandle Handle
00039 );
00040
00041 IGC_DLL_FUNC(IGCdestinationRelease)
00042 (
00043 IGCdestinationHandle Handle
00044 );
00045
00046 IGC_DLL_FUNC(IGCdestinationAddListener)
00047 (
00048 IGCdestinationHandle Handle,
00049 void* pListener
00050 );
00051
00052 IGC_DLL_FUNC(IGCdestinationRemoveListener)
00053 (
00054 IGCdestinationHandle Handle,
00055 void* pListener
00056 );
00057
00058 IGC_DLL_FUNC(IGCdestinationGetDisconnectReason)
00059 (
00060 IGCdestinationHandle Handle,
00061 IGCdisconnectReasonHandle* pResult
00062 );
00063
00064 IGC_DLL_FUNC(IGCdestinationGetConnectTimeout)
00065 (
00066 IGCdestinationHandle Handle,
00067 IGCint32* pResult
00068 );
00069
00070 IGC_DLL_FUNC(IGCdestinationSetConnectTimeout)
00071 (
00072 IGCdestinationHandle Handle,
00073 IGCint32 Value
00074 );
00075
00076 IGC_DLL_FUNC(IGCdestinationEnableDebugLogging)
00077 (
00078 IGCdestinationHandle Handle,
00079 const char* FileName
00080 );
00081
00082 IGC_DLL_FUNC(IGCdestinationConnect)
00083 (
00084 IGCdestinationHandle Handle,
00085 const char* HostName,
00086 IGCint32 PortNumber,
00087 const char* ChannelName
00088 );
00089
00090 IGC_DLL_FUNC(IGCdestinationDisconnect)
00091 (
00092 IGCdestinationHandle Handle
00093 );
00094
00095 IGC_DLL_FUNC(IGCdestinationWaitForDisconnect)
00096 (
00097 IGCdestinationHandle Handle
00098 );
00099
00100 IGC_DLL_FUNC(IGCdestinationWaitForDisconnectWithTimeout)
00101 (
00102 IGCdestinationHandle Handle,
00103 IGCint32 TimeoutInMilliseconds,
00104 IGCboolean* pResult
00105 );
00106
00107 typedef IGCresult (IGC_STD_CALL* IGCdestinationMessageReceivedCallback)
00108 (
00109 void* pDestinationInstance,
00110 IGCdestinationMessageReceivedEventInputsHandle Inputs,
00111 IGCdestinationMessageReceivedEventOutputsHandle Outputs
00112 );
00113
00114 IGC_DLL_FUNC(IGCdestinationSetMessageReceivedCallback)
00115 (
00116 IGCdestinationMessageReceivedCallback Callback
00117 );
00118
00119 typedef IGCresult (IGC_STD_CALL* IGCdestinationResubmissionPreviewMessageReceivedCallback)
00120 (
00121 void* pDestinationInstance,
00122 IGCdestinationMessageReceivedEventInputsHandle Inputs,
00123 IGCdestinationMessageReceivedEventOutputsHandle Outputs
00124 );
00125
00126 IGC_DLL_FUNC(IGCdestinationSetResubmissionPreviewMessageReceivedCallback)
00127 (
00128 IGCdestinationResubmissionPreviewMessageReceivedCallback Callback
00129 );
00130
00131 typedef IGCresult (IGC_STD_CALL* IGCdestinationDisconnectedCallback)
00132 (
00133 void* pDestinationInstance
00134 );
00135
00136 IGC_DLL_FUNC(IGCdestinationSetDisconnectedCallback)
00137 (
00138 IGCdestinationDisconnectedCallback Callback
00139 );
00140 #endif // end of defensive include