Main Page Modules Data Structures File List Data Fields Globals Related Pages

# POPT.

## Files

file | findme.c
file | findme.h
file | popt.c
file | popt.h
file | poptconfig.c
file | popthelp.c
file | poptint.h
file | poptparse.c

## Arg type identifiers

#define | POPT_ARG_NONE 0 /*!< no arg */
#define | POPT_ARG_STRING 1 /*!< arg will be saved as string */
#define | POPT_ARG_INT 2 /*!< arg will be converted to int */
#define | POPT_ARG_LONG 3 /*!< arg will be converted to long */
#define | POPT_ARG_INCLUDE_TABLE 4 /*!< arg points to table */
#define | POPT_ARG_CALLBACK 5 /*!< table-wide callback... must be
#define | POPT_ARG_INTL_DOMAIN 6 /*!< set the translation domain
#define | POPT_ARG_VAL 7 /*!< arg should take value val */
#define | POPT_ARG_FLOAT 8 /*!< arg will be converted to float */
#define | POPT_ARG_DOUBLE 9 /*!< arg will be converted to double */
#define | POPT_ARG_MASK 0x0000FFFF
set first in | table
arg points to | callback
for this table and any included | tables

## Arg modifiers

#define | POPT_ARGFLAG_ONEDASH 0x80000000 /*!< allow -longoption */

## Define Documentation

#define POPT_ARG_CALLBACK 5 /*!< table-wide callback... must be

| Definition at line 25 of file popt.h. Referenced by findOption, invokeCallbacksOPTION, invokeCallbacksPOST, and invokeCallbacksPRE.

#define POPT_ARG_DOUBLE 9 /*!< arg will be converted to double */

| Definition at line 35 of file popt.h. Referenced by getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARG_FLOAT 8 /*!< arg will be converted to float */

| Definition at line 34 of file popt.h. Referenced by getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARG_INCLUDE_TABLE 4 /*!< arg points to table */

| Definition at line 24 of file popt.h. Referenced by findOption, invokeCallbacksOPTION, invokeCallbacksPOST, invokeCallbacksPRE, maxArgWidth, showShortOptions, singleTableHelp, and singleTableUsage.

#define POPT_ARG_INT 2 /*!< arg will be converted to int */

| Definition at line 22 of file popt.h. Referenced by getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARG_INTL_DOMAIN 6 /*!< set the translation domain

| Definition at line 29 of file popt.h. Referenced by getTableTranslationDomain, itemUsage, and singleTableUsage.

#define POPT_ARG_LONG 3 /*!< arg will be converted to long */

| Definition at line 23 of file popt.h. Referenced by getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARG_MASK 0x0000FFFF

| Definition at line 37 of file popt.h. Referenced by findOption, getArgDescrip, invokeCallbacksOPTION, invokeCallbacksPOST, invokeCallbacksPRE, itemUsage, maxArgWidth, poptGetNextOpt, showShortOptions, singleOptionDefaultValue, singleOptionHelp, singleTableHelp, and singleTableUsage.

#define POPT_ARG_NONE 0 /*!< no arg */

| Definition at line 20 of file popt.h. Referenced by getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARG_STRING 1 /*!< arg will be saved as string */

| Definition at line 21 of file popt.h. Referenced by configLine, getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARG_VAL 7 /*!< arg should take value val */

| Definition at line 33 of file popt.h. Referenced by getArgDescrip, poptGetNextOpt, singleOptionDefaultValue, and singleOptionHelp.

#define POPT_ARGFLAG_ONEDASH 0x80000000 /*!< allow -longoption */

| Definition at line 44 of file popt.h. Referenced by findOption, maxArgWidth, poptGetNextOpt, singleOptionHelp, and singleOptionUsage.

## Variable Documentation

arg points to callback

| Definition at line 27 of file popt.h. Referenced by db3associate, findOption, and rpmdbCheckSignals.

set first in table

| Definition at line 26 of file popt.h. Referenced by addCanon, addDefault, getTableTranslationDomain, headerAddI18NString, headerFindI18NString, headerGetLangs, lookupInCanonTable, lookupInDefaultTable, machAddEquiv, machCacheEntryVisit, machEquivSearch, machFindEquivs, and singleTableHelp.

for this table and any included tables

| Definition at line 31 of file popt.h.