Ignore:
Timestamp:
Oct 26, 2007 5:25:35 AM (15 years ago)
Author:
bennylp
Message:

Ticket #403: Ability to specify RConnection instance etc in PJLIB Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/os.h

    r1405 r1525  
    293293 */ 
    294294PJ_DECL(pj_bool_t) pj_symbianos_poll(int priority, int ms_timeout); 
     295 
     296 
     297/** 
     298 * This structure declares Symbian OS specific parameters that can be 
     299 * specified when calling #pj_symbianos_set_params(). 
     300 */ 
     301typedef struct pj_symbianos_params  
     302{ 
     303    /** 
     304     * Optional RSocketServ instance to be used by PJLIB. If this 
     305     * value is NULL, PJLIB will create a new RSocketServ instance 
     306     * when pj_init() is called. 
     307     */ 
     308    void        *rsocketserv; 
     309     
     310    /** 
     311     * Optional RConnection instance to be used by PJLIB when creating 
     312     * sockets. If this value is NULL, no RConnection will be 
     313     * specified when creating sockets. 
     314     */ 
     315    void        *rconnection; 
     316     
     317    /** 
     318     * Optional RHostResolver instance to be used by PJLIB. If this value 
     319     * is NULL, a new RHostResolver instance will be created when 
     320     * pj_init() is called. 
     321     */ 
     322    void        *rhostresolver; 
     323      
     324} pj_symbianos_params; 
     325 
     326/** 
     327 * Specify Symbian OS parameters to be used by PJLIB. This function MUST 
     328 * be called before #pj_init() is called. 
     329 * 
     330 * @param prm           Symbian specific parameters. 
     331 * 
     332 * @return              PJ_SUCCESS if the parameters can be applied 
     333 *                      successfully. 
     334 */ 
     335PJ_DECL(pj_status_t) pj_symbianos_set_params(pj_symbianos_params *prm); 
     336 
    295337 
    296338/** 
Note: See TracChangeset for help on using the changeset viewer.