Changeset 1417 for pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
- Timestamp:
- Aug 16, 2007 10:11:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
r1395 r1417 50 50 }; 51 51 52 const pjsip_methodpjsip_subscribe_method =52 PJ_DEF_DATA(const pjsip_method) pjsip_subscribe_method = 53 53 { 54 54 (pjsip_method_e) PJSIP_SUBSCRIBE_METHOD, … … 56 56 }; 57 57 58 const pjsip_methodpjsip_notify_method =58 PJ_DEF_DATA(const pjsip_method) pjsip_notify_method = 59 59 { 60 60 (pjsip_method_e) PJSIP_NOTIFY_METHOD, 61 61 { "NOTIFY", 6 } 62 62 }; 63 64 /** 65 * SUBSCRIBE method constant. 66 */ 67 PJ_DEF(const pjsip_method*) pjsip_get_subscribe_method() 68 { 69 return &pjsip_subscribe_method; 70 } 71 72 /** 73 * NOTIFY method constant. 74 */ 75 PJ_DEF(const pjsip_method*) pjsip_get_notify_method() 76 { 77 return &pjsip_notify_method; 78 } 79 63 80 64 81 /* … … 1113 1130 1114 1131 /* Create NOTIFY request */ 1115 status = pjsip_dlg_create_request( sub->dlg, &pjsip_notify_method, -1,1116 &tdata);1132 status = pjsip_dlg_create_request( sub->dlg, pjsip_get_notify_method(), 1133 -1, &tdata); 1117 1134 if (status != PJ_SUCCESS) 1118 1135 goto on_return;
Note: See TracChangeset
for help on using the changeset viewer.