Changeset 515 for pjproject/trunk/pjsip/include/pjsip/sip_parser.h
- Timestamp:
- Jun 17, 2006 4:08:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_parser.h
r82 r515 32 32 33 33 /** 34 * @defgroup PJSIP_PARSER SIP Message Parser 35 * @ingroup PJSIP 34 * @defgroup PJSIP_PARSER Parser 35 * @ingroup PJSIP_MSG 36 * @brief Message and message elements parsing. 36 37 * @{ 37 38 */ … … 67 68 typedef struct pjsip_parser_err_report 68 69 { 70 /** Standard header fields. */ 69 71 PJ_DECL_LIST_MEMBER(struct pjsip_parser_err_report); 70 72 int except_code; /**< Error exception (e.g. PJSIP_SYN_ERR_EXCEPTION) */ … … 135 137 * @param hname The header name registered. 136 138 * @param hshortname The short header name registered, or NULL. 139 * @param fptr Previously registered function to parse the header. 137 140 * 138 141 * @return zero if unregistration was successfull. … … 186 189 PJ_DECL(pjsip_uri*) pjsip_parse_uri( pj_pool_t *pool, 187 190 char *buf, pj_size_t size, 188 unsigned option );191 unsigned options); 189 192 190 193 /** … … 238 241 * @param buf The input buffer, which must be NULL terminated. 239 242 * @param size The buffer size. 243 * @param is_datagram Put non-zero if transport is datagram oriented. 240 244 * @param msg_size [out] If message is valid, this parameter will contain 241 245 * the size of the SIP message (including body, if any). … … 279 283 * however is optional for the last header. 280 284 * 281 * @param pool the pool. 282 * @param buf the input text to parse. 283 * @param size the text length. 284 * @param hlist the header list to store the parsed headers. This list must 285 * have been initialized before calling this function. 286 * @return zero if successfull, or -1 if error is encountered. Upon error, 287 * the \a hlist argument MAY contain successfully parsed headers. 285 * @param pool the pool. 286 * @param input the input text to parse. 287 * @param size the text length. 288 * @param hlist the header list to store the parsed headers. 289 * This list must have been initialized before calling 290 * this function. 291 * @return zero if successfull, or -1 if error is encountered. 292 * Upon error, the \a hlist argument MAY contain 293 * successfully parsed headers. 288 294 */ 289 295 PJ_DECL(pj_status_t) pjsip_parse_headers( pj_pool_t *pool, 290 296 char *input, pj_size_t size, 291 297 pj_list *hlist ); 298 299 300 /** 301 * @} 302 */ 292 303 293 304 … … 317 328 * Various string constants. 318 329 */ 319 extern const pj_str_t pjsip_USER_STR, 320 pjsip_METHOD_STR, 321 pjsip_TRANSPORT_STR, 322 pjsip_MADDR_STR, 323 pjsip_LR_STR, 324 pjsip_SIP_STR, 325 pjsip_SIPS_STR, 326 pjsip_TEL_STR, 327 pjsip_BRANCH_STR, 328 pjsip_TTL_STR, 329 pjsip_PNAME_STR, 330 pjsip_Q_STR, 331 pjsip_EXPIRES_STR, 332 pjsip_TAG_STR; 330 extern const pj_str_t pjsip_USER_STR, /**< "user" string constant. */ 331 pjsip_METHOD_STR, /**< "method" string constant */ 332 pjsip_TRANSPORT_STR, /**< "transport" string const. */ 333 pjsip_MADDR_STR, /**< "maddr" string const. */ 334 pjsip_LR_STR, /**< "lr" string const. */ 335 pjsip_SIP_STR, /**< "sip" string constant. */ 336 pjsip_SIPS_STR, /**< "sips" string constant. */ 337 pjsip_TEL_STR, /**< "tel" string constant. */ 338 pjsip_BRANCH_STR, /**< "branch" string constant. */ 339 pjsip_TTL_STR, /**< "ttl" string constant. */ 340 pjsip_RECEIVED_STR, /**< "received" string const. */ 341 pjsip_Q_STR, /**< "q" string constant. */ 342 pjsip_EXPIRES_STR, /**< "expires" string constant. */ 343 pjsip_TAG_STR, /**< "tag" string constant. */ 344 pjsip_RPORT_STR; /**< "rport" string const. */ 345 333 346 334 347 /* … … 347 360 void pjsip_parse_end_hdr_imp ( pj_scanner *scanner ); 348 361 349 /**350 * @}351 */352 353 362 PJ_END_DECL 354 363
Note: See TracChangeset
for help on using the changeset viewer.