30 #include "ortp/event.h" 38 typedef struct _OList OList;
41 #define o_list_next(elem) ((elem)->next) 43 OList * o_list_append(OList *elem,
void * data);
44 OList * o_list_remove(OList *list,
void *data);
45 OList * o_list_free(OList *elem);
46 OList *o_list_remove_link(OList *list, OList *elem);
49 #define INT_TO_POINTER(truc) ((long)(long)(truc)) 50 #define POINTER_TO_INT(truc) ((int)(long)(truc)) 70 #define hton24(x) ((( (x) & 0x00ff0000) >>16) | (( (x) & 0x000000ff) <<16) | ( (x) & 0x0000ff00) ) 72 #define ntoh24(x) hton24(x) 74 #if defined(WIN32) || defined(_WIN32_WCE) 75 #define is_would_block_error(errnum) (errnum==WSAEWOULDBLOCK) 77 #define is_would_block_error(errnum) (errnum==EWOULDBLOCK || errnum==EAGAIN) 82 uint64_t ortp_timeval_to_ntp(
const struct timeval *tv);
Definition: str_utils.h:49