Ignore:
Timestamp:
Apr 19, 2013 6:05:06 AM (6 years ago)
Author:
riza
Message:

Re #1643: Code restructure + modification to handle non blocking mode

File:
1 edited

Legend:

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

    r4461 r4476  
    5151     */ 
    5252    pj_uint16_t port; 
     53 
     54    /* Internal buffer for IP address */ 
     55    char buf_[32]; 
     56 
    5357} pj_cli_telnet_info; 
    5458 
     
    5660 * This specifies the callback called when telnet is started 
    5761 * 
    58  * @param telnet_info   The telnet runtime information. 
     62 * @param status        The status of telnet startup process. 
    5963 * 
    6064 */ 
    61 typedef void (*pj_cli_telnet_on_started)(pj_cli_telnet_info *telnet_info); 
     65typedef void (*pj_cli_telnet_on_started)(pj_status_t status); 
    6266 
    6367/** 
     
    143147                                          pj_cli_front_end **p_fe); 
    144148 
     149 
     150/** 
     151 * Retrieve cli telnet info. 
     152 * 
     153 * @param telnet_info   The telnet runtime information. 
     154 * 
     155 * @return              PJ_SUCCESS on success. 
     156 */ 
     157PJ_DECL(pj_status_t) pj_cli_telnet_get_info(pj_cli_front_end *fe,  
     158                                            pj_cli_telnet_info *info);  
     159 
    145160/** 
    146161 * @} 
Note: See TracChangeset for help on using the changeset viewer.