#include <cli_telnet.h>
This structure contains various options to instantiate the telnet daemon. Application must call pj_cli_telnet_cfg_default() to initialize this structure with its default values.
◆ ioqueue
Ioqueue instance to be used. If this field is NULL, an internal ioqueue and worker thread will be created.
◆ log_level
int pj_cli_telnet_cfg::log_level |
Default log verbosity level for the session.
Default value: PJ_CLI_TELNET_LOG_LEVEL
◆ on_started
Specify the pj_cli_telnet_on_started callback.
Default: empty
◆ passwd
Specify a password to be asked to the end user to access the application. Currently this is not implemented yet.
Default: empty (no password)
◆ port
Listening port number. The value may be 0 to let the system choose the first available port.
Default value: PJ_CLI_TELNET_PORT
◆ prompt_str
Specify text message as a prompt string to user.
Default: empty
◆ welcome_msg
Specify text message to be displayed to newly connected users. Currently this is not implemented yet.
Default: empty
The documentation for this struct was generated from the following file: