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

Data Fields
pj_cli_cfg Struct Reference

Data Fields

pj_str_t name
pj_str_t title

Detailed Description

This describes the parameters to be specified when creating a CLI application with pj_cli_create(). Application MUST initialize this structure by calling pj_cli_cfg_default() before using it.

Field Documentation

pj_str_t pj_cli_cfg::name

The application name, which will be used in places such as logs. This field is mandatory.

pj_pool_factory* pj_cli_cfg::pf

The pool factory where all memory allocations will be taken from. This field is mandatory.

pj_str_t pj_cli_cfg::title

Optional application title, which will be used in places such as window title. If not specified, the application name will be used as the title.

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.