bcap_server.h
Go to the documentation of this file.
1 #ifndef BCAP_CLIENT_H_
2 #define BCAP_CLIENT_H_
3 
36 #ifndef _BCAP_EXP_SERVER
37 #define _BCAP_EXP_SERVER
38 #endif /* _BCAP_EXP_SERVER */
39 
40 #include "../dn_common.h"
41 #include "../bcap_funcid.h"
42 
43 #ifndef ERROR_BUSY
44 
48 #define ERROR_BUSY (170L)
49 #endif
50 
55 #define E_BUSY_PROC OSERR2HRESULT(ERROR_BUSY)
56 
62 #define BCAP_TCP_MAX (1)
63 
69 #define BCAP_UDP_MAX (1)
70 
76 #define BCAP_COM_MAX (1)
77 
83 #define BCAP_CLIENT_MAX (20)
84 
90 #define BCAP_OBJECT_MAX (1000)
91 
97 #define INIT_EXEC_TIMEOUT (180000)
98 
104 #define MIN_WDT_INTERVAL (80)
105 
111 #define INIT_WDT_INTERVAL (INFINITE)
112 
117 #define KEEPALIVE_ENABLE (1)
118 
124 #define KEEPALIVE_IDLE (7200)
125 
131 #define KEEPALIVE_INTERVAL (75)
132 
137 #define KEEPALIVE_COUNT (9)
138 
144 #define UDP_LIFELIMIT (10000)
145 
146 typedef HRESULT
147 (*CALL_FUNC_BCAP)(VARIANT *vntArgs, int16_t Argc, VARIANT *vntRet);
148 
149 #ifdef __cplusplus
150 extern "C"
151 {
152 #endif
153 
162 
170  bCap_Open_Server(const char *connect, uint32_t timeout, int *pfd);
171 
178  bCap_Close_Server(int *pfd);
179 
180 #ifdef __cplusplus
181 }
182 #endif
183 
184 #endif /* BCAP_SERVER_H_ */
short int16_t
Definition: stdint.h:40
unsigned uint32_t
Definition: stdint.h:43
uint32_t timeout
Definition: dn_device.h:174
#define _BCAP_EXP_SERVER
Definition: bcap_server.h:37
_BCAP_EXP_SERVER HRESULT bCap_Close_Server(int *pfd)
Ends b-CAP server.
Definition: bcap_server.c:1184
int32_t HRESULT
Definition: dn_common.h:61
_BCAP_EXP_SERVER HRESULT bCap_Open_Server(const char *connect, uint32_t timeout, int *pfd)
Starts b-CAP server.
Definition: bcap_server.c:1056
A type definition for the multi type variable.
Definition: dn_common.h:306
int int32_t
Definition: stdint.h:42
HRESULT(* CALL_FUNC_BCAP)(VARIANT *vntArgs, int16_t Argc, VARIANT *vntRet)
Definition: bcap_server.h:147
_BCAP_EXP_SERVER HRESULT bCap_SetCallFunc(int32_t id, CALL_FUNC_BCAP func)
Sets a callback function.
Definition: bcap_server.c:1044
static int connect(SOCKET s, const struct sockaddr *name, int namelen)


bcap_core
Author(s): DENSO WAVE INCORPORATED
autogenerated on Mon Jun 10 2019 13:12:20