BLOG | DOCUMENTATION | GITHUB

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

pj_cli_dyn_choice_param Struct Reference

#include <cli.h>

Data Fields

pj_cli_sesssess
 
pj_cli_cmd_speccmd
 
pj_cli_arg_id arg_id
 
unsigned max_cnt
 
pj_pool_tpool
 
unsigned cnt
 
pj_cli_arg_choice_val choice [PJ_CLI_MAX_CHOICE_VAL]
 

Detailed Description

This structure contains the parameters for pj_cli_get_dyn_choice

Field Documentation

◆ arg_id

pj_cli_arg_id pj_cli_dyn_choice_param::arg_id

The argument id.

◆ choice

pj_cli_arg_choice_val pj_cli_dyn_choice_param::choice[PJ_CLI_MAX_CHOICE_VAL]

Array containing the valid choice values.

◆ cmd

pj_cli_cmd_spec* pj_cli_dyn_choice_param::cmd

The command being processed.

◆ cnt

unsigned pj_cli_dyn_choice_param::cnt

The choice values count.

◆ max_cnt

unsigned pj_cli_dyn_choice_param::max_cnt

The maximum number of values that the choice can hold.

◆ pool

pj_pool_t* pj_cli_dyn_choice_param::pool

The pool to allocate memory from.

◆ sess

pj_cli_sess* pj_cli_dyn_choice_param::sess

The session on which the command was executed on.


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.