poptItem_s(3)

poptItem_s(3) popt poptItem_s(3)

NAME

poptItem_s - A popt alias or exec argument for poptAddItem().

SYNOPSIS

#include <src/popt.h>

Data Fields


struct poptOption option
int argc
const char ** argv

Detailed Description

A popt alias or exec argument for poptAddItem().

Definition at line 150 of file popt.h.

Field Documentation

int poptItem_s::argc

(alias) no. of args.

Definition at line 152 of file popt.h.

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

const char** poptItem_s::argv

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

Definition at line 153 of file popt.h.

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

struct poptOption poptItem_s::option

alias/exec name(s) and description.

Definition at line 144 of file popt.h.

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

Author

Generated automatically by Doxygen for popt from the source code.

Thu Aug 26 2021 Version 1.18