30 #include "ortp/event.h"
40 #define o_list_next(elem) ((elem)->next)
41 #define o_list_prev(elem) ((elem)->prev)
43 OList * o_list_append(
OList *elem,
void * data);
44 OList * o_list_remove(
OList *list,
void *data);
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);
86 int _rtp_session_sendto(
RtpSession *session, bool_t is_rtp,
mblk_t *m,
int flags,
const struct sockaddr *destaddr, socklen_t destlen);
87 int _ortp_sendto(ortp_socket_t sockfd,
mblk_t *m,
int flags,
const struct sockaddr *destaddr, socklen_t destlen);
Definition: rtpsession.h:348
Definition: str_utils.h:49
Definition: rtpsession.h:265