Changeset 3360 for pjproject/trunk/pjmedia/include/pjmedia/endpoint.h
- Timestamp:
- Nov 3, 2010 6:46:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/endpoint.h
r2506 r3360 43 43 44 44 PJ_BEGIN_DECL 45 46 /** 47 * This enumeration describes various flags that can be set or retrieved in 48 * the media endpoint, by using pjmedia_endpt_set_flag() and 49 * pjmedia_endpt_get_flag() respectively. 50 */ 51 typedef enum pjmedia_endpt_flag 52 { 53 /** 54 * This flag controls whether telephony-event should be offered in SDP. 55 * Value is boolean. 56 */ 57 PJMEDIA_ENDPT_HAS_TELEPHONE_EVENT_FLAG 58 59 } pjmedia_endpt_flag; 45 60 46 61 … … 74 89 PJ_DECL(pj_status_t) pjmedia_endpt_destroy(pjmedia_endpt *endpt); 75 90 76 91 /** 92 * Change the value of a flag. 93 * 94 * @param endpt Media endpoint. 95 * @param flag The flag. 96 * @param value Pointer to the value to be set. 97 * 98 * @reurn PJ_SUCCESS on success. 99 */ 100 PJ_DECL(pj_status_t) pjmedia_endpt_set_flag(pjmedia_endpt *endpt, 101 pjmedia_endpt_flag flag, 102 const void *value); 103 104 /** 105 * Retrieve the value of a flag. 106 * 107 * @param endpt Media endpoint. 108 * @param flag The flag. 109 * @param value Pointer to store the result. 110 * 111 * @return PJ_SUCCESS on success. 112 */ 113 PJ_DECL(pj_status_t) pjmedia_endpt_get_flag(pjmedia_endpt *endpt, 114 pjmedia_endpt_flag flag, 115 void *value); 77 116 78 117 /**
Note: See TracChangeset
for help on using the changeset viewer.