popt  1.16
Data Fields
poptItem_s Struct Reference

#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 157 of file popt.h.

Field Documentation

◆ argc

int poptItem_s::argc

(alias) no. of args.

Definition at line 159 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 161 of file popt.h.

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

◆ option

struct poptOption poptItem_s::option

alias/exec name(s) and description.

Definition at line 158 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.17