23 #ifndef RTR_TRANSPORT_H
24 #define RTR_TRANSPORT_H
71 typedef int (*
tr_recv_fp)(
const void *socket,
void *pdu,
const size_t len,
const time_t timeout);
77 typedef int (*
tr_send_fp)(
const void *socket,
const void *pdu,
const size_t len,
const time_t timeout);
83 typedef const char *(*tr_ident_fp)(
void *socket);
Definition: transport.h:35
A transport socket datastructure.
Definition: transport.h:95
Definition: transport.h:41
void(* tr_close_fp)(void *socket)
A function pointer to a technology specific close function.
Definition: transport.h:53
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.
Definition: transport.h:77
Definition: transport.h:38
int(* tr_open_fp)(void *socket)
A function pointer to a technology specific open function.
Definition: transport.h:59
void(* tr_free_fp)(struct tr_socket *tr_sock)
A function pointer to a technology specific free function. All memory associated with the tr_socket w...
Definition: transport.h:65
Operation was successful.
Definition: transport.h:32
tr_rtvals
The return values for tr_ functions.
Definition: transport.h:30
const char *(* tr_ident_fp)(void *socket)
A function pointer to a technology specific info function.
Definition: transport.h:83
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.
Definition: transport.h:71
Definition: transport.h:44