Changeset 860 for pjproject/trunk
- Timestamp:
- Dec 25, 2006 6:39:33 AM (18 years ago)
- Location:
- pjproject/trunk/pjlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/sock.h
r622 r860 103 103 104 104 105 /* *105 /* 106 106 * Flags to be specified in #pj_sock_recv, #pj_sock_send, etc. 107 107 */ 108 typedef enum pj_sock_msg_flag 109 { 110 PJ_MSG_OOB = 0x01, /**< Out-of-band messages. */ 111 PJ_MSG_PEEK = 0x02, /**< Peek, don't remove from buffer. */ 112 PJ_MSG_DONTROUTE = 0x04 /**< Don't route. */ 113 } pj_sock_msg_flag; 108 extern const int PJ_MSG_OOB; /**< Out-of-band messages. */ 109 extern const int PJ_MSG_PEEK; /**< Peek, don't remove from buffer. */ 110 extern const int PJ_MSG_DONTROUTE; /**< Don't route. */ 114 111 115 112 -
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r582 r860 83 83 84 84 85 /* recv() and send() flags */ 86 const int PJ_MSG_OOB = MSG_OOB; 87 const int PJ_MSG_PEEK = MSG_PEEK; 88 const int PJ_MSG_DONTROUTE = MSG_DONTROUTE; 89 90 85 91 #if defined(PJ_SOCKADDR_HAS_LEN) && PJ_SOCKADDR_HAS_LEN!=0 86 92 # define SET_LEN(addr,len) (((pj_sockaddr*)(addr))->sa_zero_len=(len))
Note: See TracChangeset
for help on using the changeset viewer.