BLOG | DOCUMENTATION | GITHUB

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

pj_cli_cmd_val Struct Reference

#include <cli.h>

Data Fields

pj_cli_sesssess
 
const pj_cli_cmd_speccmd
 
int argc
 
pj_str_t argv [PJ_CLI_MAX_ARGS]
 

Detailed Description

This structure contains the command to be executed by command handler.

Field Documentation

◆ argc

int pj_cli_cmd_val::argc

Number of argvs.

◆ argv

pj_str_t pj_cli_cmd_val::argv[PJ_CLI_MAX_ARGS]

Array of args, with argv[0] specifies the name of the cmd.

◆ cmd

const pj_cli_cmd_spec* pj_cli_cmd_val::cmd

The command specification being executed.

◆ sess

pj_cli_sess* pj_cli_cmd_val::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.