Changeset 106 for pjproject/trunk/pjsip/include/pjsip/sip_msg.h
- Timestamp:
- Dec 30, 2005 11:50:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_msg.h
r65 r106 53 53 typedef enum pjsip_method_e 54 54 { 55 /** INVITE method, for establishing dialogs. */ 56 PJSIP_INVITE_METHOD, 57 58 /** CANCEL method, for cancelling request. */ 59 PJSIP_CANCEL_METHOD, 60 61 /** ACK method, for acknowledging final response to INVITE. */ 62 PJSIP_ACK_METHOD, 63 64 /** BYE method, for terminating dialog. */ 65 PJSIP_BYE_METHOD, 66 67 /** REGISTER method. */ 68 PJSIP_REGISTER_METHOD, 69 70 /** OPTIONS method, for querying remote capabilities. */ 71 PJSIP_OPTIONS_METHOD, 72 73 /** Other method, which means that the method name itself will be stored 74 elsewhere. */ 75 PJSIP_OTHER_METHOD, 55 PJSIP_INVITE_METHOD, /**< INVITE method, for establishing dialogs. */ 56 PJSIP_CANCEL_METHOD, /**< CANCEL method, for cancelling request. */ 57 PJSIP_ACK_METHOD, /**< ACK method. */ 58 PJSIP_BYE_METHOD, /**< BYE method, for terminating dialog. */ 59 PJSIP_REGISTER_METHOD, /**< REGISTER method. */ 60 PJSIP_OPTIONS_METHOD, /**< OPTIONS method. */ 61 62 PJSIP_OTHER_METHOD, /**< Other method. */ 76 63 77 64 } pjsip_method_e; … … 92 79 method string. */ 93 80 } pjsip_method; 81 82 83 /* 84 * For convenience, standard method structures are defined in the library. 85 */ 86 extern const pjsip_method pjsip_invite_method; /**< INVITE structure. */ 87 extern const pjsip_method pjsip_cancel_method; /**< CANCEL structure. */ 88 extern const pjsip_method pjsip_ack_method; /**< ACK structure. */ 89 extern const pjsip_method pjsip_bye_method; /**< BYE structure. */ 90 extern const pjsip_method pjsip_register_method; /**< REGISTER structure.*/ 91 extern const pjsip_method pjsip_options_method; /**< OPTIONS structure. */ 94 92 95 93 … … 639 637 * type is found. 640 638 */ 641 PJ_DECL(void*) pjsip_msg_find_hdr( pjsip_msg *msg,642 pjsip_hdr_e type, void *start);639 PJ_DECL(void*) pjsip_msg_find_hdr( const pjsip_msg *msg, 640 pjsip_hdr_e type, const void *start); 643 641 644 642 /** … … 655 653 * type is found. 656 654 */ 657 PJ_DECL(void*) pjsip_msg_find_hdr_by_name( pjsip_msg *msg, 658 const pj_str_t *name, void *start); 655 PJ_DECL(void*) pjsip_msg_find_hdr_by_name( const pjsip_msg *msg, 656 const pj_str_t *name, 657 const void *start); 659 658 660 659 /** … … 703 702 * value if the message is too large for the specified buffer. 704 703 */ 705 PJ_DECL(pj_ssize_t) pjsip_msg_print(pjsip_msg *msg, char *buf, pj_size_t size); 704 PJ_DECL(pj_ssize_t) pjsip_msg_print(const pjsip_msg *msg, 705 char *buf, pj_size_t size); 706 706 707 707 /**
Note: See TracChangeset
for help on using the changeset viewer.