BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB-UTIL Reference

#include <cli_console.h>

Data Fields

int log_level
 
pj_str_t prompt_str
 
pj_str_t quit_command
 

Detailed Description

This structure contains various options for CLI console front-end. Application must call pj_cli_console_cfg_default() to initialize this structure with its default values.

Field Documentation

◆ log_level

int pj_cli_console_cfg::log_level

Default log verbosity level for the session.

Default value: PJ_CLI_CONSOLE_LOG_LEVEL

◆ prompt_str

pj_str_t pj_cli_console_cfg::prompt_str

Specify text message as a prompt string to user.

Default: empty

◆ quit_command

pj_str_t pj_cli_console_cfg::quit_command

Specify the command to quit the application.

Default: empty


The documentation for this struct was generated from the following file:

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.