A type definition for common communication parameters. More...
#include <dn_device.h>
Public Attributes | |
void * | arg |
HRESULT(* | dn_clear )(int sock, uint32_t timeout) |
HRESULT(* | dn_close )(int *sock) |
HRESULT(* | dn_open )(void *param, int *sock) |
HRESULT(* | dn_recv )(int sock, char *buf, uint32_t len_buf, uint32_t *len_recved, uint32_t timeout, void *arg) |
HRESULT(* | dn_send )(int sock, const char *buf, uint32_t len_buf, void *arg) |
HRESULT(* | dn_set_timeout )(int sock, uint32_t timeout) |
int | sock |
uint32_t | timeout |
int | type |
A type definition for common communication parameters.
Definition at line 170 of file dn_device.h.
void* CONN_PARAM_COMMON::arg |
Special argument.
Definition at line 175 of file dn_device.h.
Definition at line 182 of file dn_device.h.
Definition at line 177 of file dn_device.h.
Definition at line 176 of file dn_device.h.
HRESULT(* CONN_PARAM_COMMON::dn_recv) (int sock, char *buf, uint32_t len_buf, uint32_t *len_recved, uint32_t timeout, void *arg) |
Definition at line 179 of file dn_device.h.
Definition at line 178 of file dn_device.h.
Definition at line 181 of file dn_device.h.
int CONN_PARAM_COMMON::sock |
File descriptor.
Definition at line 172 of file dn_device.h.
uint32_t CONN_PARAM_COMMON::timeout |
Timeout value.
Definition at line 174 of file dn_device.h.
int CONN_PARAM_COMMON::type |
Connection type.
Definition at line 173 of file dn_device.h.