bcap_server.h
Go to the documentation of this file.
00001 #ifndef BCAP_CLIENT_H_
00002 #define BCAP_CLIENT_H_
00003 
00036 #ifndef _BCAP_EXP_SERVER
00037 #define _BCAP_EXP_SERVER
00038 #endif /* _BCAP_EXP_SERVER */
00039 
00040 #include "../dn_common.h"
00041 #include "../bcap_funcid.h"
00042 
00043 #ifndef ERROR_BUSY
00044 
00048 #define ERROR_BUSY (170L)
00049 #endif
00050 
00055 #define E_BUSY_PROC OSERR2HRESULT(ERROR_BUSY)
00056 
00062 #define BCAP_TCP_MAX (1)
00063 
00069 #define BCAP_UDP_MAX (1)
00070 
00076 #define BCAP_COM_MAX (1)
00077 
00083 #define BCAP_CLIENT_MAX (20)
00084 
00090 #define BCAP_OBJECT_MAX (1000)
00091 
00097 #define INIT_EXEC_TIMEOUT (180000)
00098 
00104 #define MIN_WDT_INTERVAL (80)
00105 
00111 #define INIT_WDT_INTERVAL (INFINITE)
00112 
00117 #define KEEPALIVE_ENABLE (1)
00118 
00124 #define KEEPALIVE_IDLE (7200)
00125 
00131 #define KEEPALIVE_INTERVAL (75)
00132 
00137 #define KEEPALIVE_COUNT (9)
00138 
00144 #define UDP_LIFELIMIT (10000)
00145 
00146 typedef HRESULT
00147 (*CALL_FUNC_BCAP)(VARIANT *vntArgs, int16_t Argc, VARIANT *vntRet);
00148 
00149 #ifdef __cplusplus
00150 extern "C"
00151 {
00152 #endif
00153 
00160   _BCAP_EXP_SERVER HRESULT
00161   bCap_SetCallFunc(int32_t id, CALL_FUNC_BCAP func);
00162 
00169   _BCAP_EXP_SERVER HRESULT
00170   bCap_Open_Server(const char *connect, uint32_t timeout, int *pfd);
00171 
00177   _BCAP_EXP_SERVER HRESULT
00178   bCap_Close_Server(int *pfd);
00179 
00180 #ifdef __cplusplus
00181 }
00182 #endif
00183 
00184 #endif /* BCAP_SERVER_H_ */


bcap_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Thu Jun 6 2019 21:00:02