Ignore:
Timestamp:
Dec 25, 2006 6:39:33 AM (17 years ago)
Author:
bennylp
Message:

In relation to ticket #49: fix support for recv() flags such as PJ_MSG_PEEK and PJ_MSG_OOB etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/sock.h

    r622 r860  
    103103 
    104104 
    105 /** 
     105/* 
    106106 * Flags to be specified in #pj_sock_recv, #pj_sock_send, etc. 
    107107 */ 
    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; 
     108extern const int PJ_MSG_OOB;        /**< Out-of-band messages.           */ 
     109extern const int PJ_MSG_PEEK;       /**< Peek, don't remove from buffer. */ 
     110extern const int PJ_MSG_DONTROUTE;  /**< Don't route.                    */ 
    114111 
    115112 
Note: See TracChangeset for help on using the changeset viewer.