74 |
// Transaction call timeout (msecs). |
// Transaction call timeout (msecs). |
75 |
int iTimeout; |
int iTimeout; |
76 |
lscp_mutex_t mutex; |
lscp_mutex_t mutex; |
77 |
|
lscp_cond_t cond; |
78 |
}; |
}; |
79 |
|
|
80 |
|
|
90 |
char * lscp_strtok (char *pchBuffer, const char *pszSeps, char **ppch); |
char * lscp_strtok (char *pchBuffer, const char *pszSeps, char **ppch); |
91 |
char * lscp_ltrim (char *psz); |
char * lscp_ltrim (char *psz); |
92 |
char * lscp_unquote (char **ppsz, int dup); |
char * lscp_unquote (char **ppsz, int dup); |
93 |
|
void lscp_unquote_dup (char **ppszDst, char **ppszSrc); |
94 |
|
|
95 |
char ** lscp_szsplit_create (const char *pszCsv, const char *pszSeps); |
char ** lscp_szsplit_create (const char *pszCsv, const char *pszSeps); |
96 |
void lscp_szsplit_destroy (char **ppszSplit); |
void lscp_szsplit_destroy (char **ppszSplit); |
125 |
// Engine struct helper functions. |
// Engine struct helper functions. |
126 |
|
|
127 |
void lscp_engine_info_init (lscp_engine_info_t *pEngineInfo); |
void lscp_engine_info_init (lscp_engine_info_t *pEngineInfo); |
128 |
|
void lscp_engine_info_free (lscp_engine_info_t *pEngineInfo); |
129 |
void lscp_engine_info_reset (lscp_engine_info_t *pEngineInfo); |
void lscp_engine_info_reset (lscp_engine_info_t *pEngineInfo); |
130 |
|
|
131 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
132 |
// Channel struct helper functions. |
// Channel struct helper functions. |
133 |
|
|
134 |
void lscp_channel_info_init (lscp_channel_info_t *pChannelInfo); |
void lscp_channel_info_init (lscp_channel_info_t *pChannelInfo); |
135 |
|
void lscp_channel_info_free (lscp_channel_info_t *pChannelInfo); |
136 |
void lscp_channel_info_reset (lscp_channel_info_t *pChannelInfo); |
void lscp_channel_info_reset (lscp_channel_info_t *pChannelInfo); |
137 |
|
|
138 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
139 |
// Driver struct helper functions. |
// Driver struct helper functions. |
140 |
|
|
141 |
void lscp_driver_info_init (lscp_driver_info_t *pDriverInfo); |
void lscp_driver_info_init (lscp_driver_info_t *pDriverInfo); |
142 |
|
void lscp_driver_info_free (lscp_driver_info_t *pDriverInfo); |
143 |
void lscp_driver_info_reset (lscp_driver_info_t *pDriverInfo); |
void lscp_driver_info_reset (lscp_driver_info_t *pDriverInfo); |
144 |
|
|
145 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
146 |
// Device struct helper functions. |
// Device struct helper functions. |
147 |
|
|
148 |
void lscp_device_info_init (lscp_device_info_t *pDeviceInfo); |
void lscp_device_info_init (lscp_device_info_t *pDeviceInfo); |
149 |
|
void lscp_device_info_free (lscp_device_info_t *pDeviceInfo); |
150 |
void lscp_device_info_reset (lscp_device_info_t *pDeviceInfo); |
void lscp_device_info_reset (lscp_device_info_t *pDeviceInfo); |
151 |
|
|
152 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
153 |
// Device channel/port struct helper functions. |
// Device channel/port struct helper functions. |
154 |
|
|
155 |
void lscp_device_port_info_init (lscp_device_port_info_t *pDevicePortInfo); |
void lscp_device_port_info_init (lscp_device_port_info_t *pDevicePortInfo); |
156 |
|
void lscp_device_port_info_free (lscp_device_port_info_t *pDevicePortInfo); |
157 |
void lscp_device_port_info_reset (lscp_device_port_info_t *pDevicePortInfo); |
void lscp_device_port_info_reset (lscp_device_port_info_t *pDevicePortInfo); |
158 |
|
|
159 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
160 |
// Parameter struct helper functions. |
// Parameter struct helper functions. |
161 |
|
|
162 |
void lscp_param_info_init (lscp_param_info_t *pParamInfo); |
void lscp_param_info_init (lscp_param_info_t *pParamInfo); |
163 |
|
void lscp_param_info_free (lscp_param_info_t *pParamInfo); |
164 |
void lscp_param_info_reset (lscp_param_info_t *pParamInfo); |
void lscp_param_info_reset (lscp_param_info_t *pParamInfo); |
165 |
|
|
166 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |