Ignore:
Timestamp:
Apr 5, 2013 3:02:19 AM (11 years ago)
Author:
riza
Message:

Re #1643: Code restructure+add callback to support symbian gui app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/cli_telnet.h

    r4440 r4461  
    3535 */ 
    3636 
     37 /** 
     38 * This structure contains the information about the telnet. 
     39 * Application will get updated information each time the telnet is started/ 
     40 * restarted. 
     41 */ 
     42typedef struct pj_cli_telnet_info 
     43{ 
     44    /** 
     45     * The telnet's ip address. 
     46     */ 
     47    pj_str_t    ip_address; 
     48 
     49    /** 
     50     * The telnet's port number. 
     51     */ 
     52    pj_uint16_t port; 
     53} pj_cli_telnet_info; 
     54 
     55/** 
     56 * This specifies the callback called when telnet is started 
     57 * 
     58 * @param telnet_info   The telnet runtime information. 
     59 * 
     60 */ 
     61typedef void (*pj_cli_telnet_on_started)(pj_cli_telnet_info *telnet_info); 
    3762 
    3863/** 
     
    86111    pj_str_t prompt_str; 
    87112 
     113    /** 
     114     * Specify the pj_cli_telnet_on_started callback. 
     115     * 
     116     * Default: empty 
     117     */ 
     118    pj_cli_telnet_on_started on_started; 
     119 
    88120} pj_cli_telnet_cfg; 
    89  
    90121 
    91122/** 
Note: See TracChangeset for help on using the changeset viewer.