Ignore:
Timestamp:
Jun 17, 2006 4:08:30 AM (18 years ago)
Author:
bennylp
Message:

Modifications all over the place, but mainly only to update Doxygen documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_parser.h

    r82 r515  
    3232 
    3333/** 
    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. 
    3637 * @{ 
    3738 */ 
     
    6768typedef struct pjsip_parser_err_report 
    6869{ 
     70    /** Standard header fields. */ 
    6971    PJ_DECL_LIST_MEMBER(struct pjsip_parser_err_report); 
    7072    int         except_code;    /**< Error exception (e.g. PJSIP_SYN_ERR_EXCEPTION) */ 
     
    135137 * @param hname         The header name registered. 
    136138 * @param hshortname    The short header name registered, or NULL. 
     139 * @param fptr          Previously registered function to parse the header. 
    137140 * 
    138141 * @return              zero if unregistration was successfull. 
     
    186189PJ_DECL(pjsip_uri*) pjsip_parse_uri( pj_pool_t *pool,  
    187190                                     char *buf, pj_size_t size, 
    188                                      unsigned option); 
     191                                     unsigned options); 
    189192 
    190193/** 
     
    238241 * @param buf           The input buffer, which must be NULL terminated. 
    239242 * @param size          The buffer size. 
     243 * @param is_datagram   Put non-zero if transport is datagram oriented. 
    240244 * @param msg_size      [out] If message is valid, this parameter will contain 
    241245 *                      the size of the SIP message (including body, if any). 
     
    279283 * however is optional for the last header. 
    280284 * 
    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. 
    288294 */ 
    289295PJ_DECL(pj_status_t) pjsip_parse_headers( pj_pool_t *pool, 
    290296                                          char *input, pj_size_t size, 
    291297                                          pj_list *hlist ); 
     298 
     299 
     300/** 
     301 * @} 
     302 */ 
    292303 
    293304 
     
    317328 * Various string constants. 
    318329 */ 
    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; 
     330extern 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 
    333346 
    334347/* 
     
    347360void pjsip_parse_end_hdr_imp ( pj_scanner *scanner ); 
    348361 
    349 /** 
    350  * @} 
    351  */ 
    352  
    353362PJ_END_DECL 
    354363 
Note: See TracChangeset for help on using the changeset viewer.