Ignore:
Timestamp:
Aug 5, 2008 7:28:17 PM (16 years ago)
Author:
bennylp
Message:

Implement ticket #551: Generic URI scheme handler (thanks Juri Glaß for the patch)

File:
1 edited

Legend:

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

    r2103 r2193  
    415415                                      const pjsip_name_addr *rhs); 
    416416 
    417  
    418  
    419  
    420417/** 
    421418 * @} 
    422419 */ 
    423420 
     421/** 
     422 * @defgroup PJSIP_OTHER_URI Other URI schemes 
     423 * @ingroup PJSIP_URI 
     424 * @brief Container for non SIP/tel URI scheme (e.g. "http:", "mailto:") 
     425 * @{ 
     426 */ 
     427 
     428/** 
     429 * Generic URI container for non SIP/tel URI scheme. 
     430 */ 
     431typedef struct pjsip_other_uri  
     432{ 
     433    pjsip_uri_vptr *vptr;       /**< Pointer to virtual function table. */ 
     434    pj_str_t scheme;            /**< The URI scheme (e.g. "mailto")     */ 
     435    pj_str_t content;           /**< The whole URI content              */ 
     436} pjsip_other_uri; 
     437 
     438 
     439/** 
     440 * Create a generic URI object. 
     441 * 
     442 * @param pool      The pool to allocate memory from. 
     443 * 
     444 * @return          The URI instance. 
     445 */ 
     446PJ_DECL(pjsip_other_uri*) pjsip_other_uri_create(pj_pool_t *pool); 
     447 
     448 
     449/** 
     450 * @} 
     451 */ 
     452 
    424453PJ_END_DECL 
    425454 
Note: See TracChangeset for help on using the changeset viewer.