36 #ifndef _BCAP_EXP_SERVER 37 #define _BCAP_EXP_SERVER 40 #include "../dn_common.h" 41 #include "../bcap_funcid.h" 48 #define ERROR_BUSY (170L) 55 #define E_BUSY_PROC OSERR2HRESULT(ERROR_BUSY) 62 #define BCAP_TCP_MAX (1) 69 #define BCAP_UDP_MAX (1) 76 #define BCAP_COM_MAX (1) 83 #define BCAP_CLIENT_MAX (20) 90 #define BCAP_OBJECT_MAX (1000) 97 #define INIT_EXEC_TIMEOUT (180000) 104 #define MIN_WDT_INTERVAL (80) 111 #define INIT_WDT_INTERVAL (INFINITE) 117 #define KEEPALIVE_ENABLE (1) 124 #define KEEPALIVE_IDLE (7200) 131 #define KEEPALIVE_INTERVAL (75) 137 #define KEEPALIVE_COUNT (9) 144 #define UDP_LIFELIMIT (10000)
_BCAP_EXP_SERVER HRESULT bCap_Close_Server(int *pfd)
Ends b-CAP server.
_BCAP_EXP_SERVER HRESULT bCap_Open_Server(const char *connect, uint32_t timeout, int *pfd)
Starts b-CAP server.
A type definition for the multi type variable.
HRESULT(* CALL_FUNC_BCAP)(VARIANT *vntArgs, int16_t Argc, VARIANT *vntRet)
_BCAP_EXP_SERVER HRESULT bCap_SetCallFunc(int32_t id, CALL_FUNC_BCAP func)
Sets a callback function.
static int connect(SOCKET s, const struct sockaddr *name, int namelen)