popt  1.16
Data Fields
poptItem_s Struct Reference

A popt alias or exec argument for poptAddItem(). More...

#include <popt.h>

Collaboration diagram for poptItem_s:
Collaboration graph
[legend]

Data Fields

struct poptOption option
 
int argc
 
const char ** argv
 

Detailed Description

A popt alias or exec argument for poptAddItem().

Definition at line 162 of file popt.h.

Field Documentation

◆ argc

int poptItem_s::argc

(alias) no. of args.

Definition at line 164 of file popt.h.

Referenced by execCommand(), handleAlias(), and poptAddItem().

◆ argv

const char** poptItem_s::argv

(alias) args, must be free()able.

Definition at line 166 of file popt.h.

Referenced by execCommand(), handleAlias(), poptAddItem(), and poptFreeItems().

◆ option

struct poptOption poptItem_s::option

alias/exec name(s) and description.

Definition at line 163 of file popt.h.

Referenced by handleAlias(), handleExec(), itemHelp(), itemUsage(), poptAddItem(), and poptFreeItems().


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

Generated for popt by  doxygen 1.8.13