- Timestamp:
- Apr 5, 2013 3:02:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/cli_telnet.h
r4440 r4461 35 35 */ 36 36 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 */ 42 typedef 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 */ 61 typedef void (*pj_cli_telnet_on_started)(pj_cli_telnet_info *telnet_info); 37 62 38 63 /** … … 86 111 pj_str_t prompt_str; 87 112 113 /** 114 * Specify the pj_cli_telnet_on_started callback. 115 * 116 * Default: empty 117 */ 118 pj_cli_telnet_on_started on_started; 119 88 120 } pj_cli_telnet_cfg; 89 90 121 91 122 /**
Note: See TracChangeset
for help on using the changeset viewer.