|
RTRlib
|
#include <time.h>Go to the source code of this file.
Data Structures | |
| struct | tr_socket |
| A transport socket datastructure. More... | |
Macros | |
| #define | RTRLIB_TRANSPORT_CONNECT_TIMEOUT_DEFAULT 30 |
| Default connect timeout. | |
Typedefs | |
| typedef void(* | tr_close_fp) (void *socket) |
| A function pointer to a technology specific close function. | |
| typedef int(* | tr_open_fp) (void *socket) |
| A function pointer to a technology specific open function. | |
| typedef void(* | tr_free_fp) (struct tr_socket *tr_sock) |
| A function pointer to a technology specific free function. | |
| typedef int(* | tr_recv_fp) (const void *socket, void *pdu, const size_t len, const time_t timeout) |
| A function pointer to a technology specific recv function. | |
| typedef int(* | tr_send_fp) (const void *socket, const void *pdu, const size_t len, const time_t timeout) |
| A function pointer to a technology specific send function. | |
| typedef const char *(* | tr_ident_fp) (void *socket) |
| A function pointer to a technology specific info function. | |
Enumerations | |
| enum | tr_rtvals { TR_SUCCESS = 0 , TR_ERROR = -1 , TR_WOULDBLOCK = -2 , TR_INTR = -3 , TR_CLOSED = -4 } |
| The return values for tr_ functions. More... | |