#include "system.h"
#include <math.h>
#include "findme.h"
#include "poptint.h"
Go to the source code of this file.
Defines | |
#define | _ABS(a) ((((a) - 0.0) < DBL_EPSILON) ? -(a) : (a)) |
Functions | |
char * | strerror (int errno) |
void | poptSetExecPath (poptContext con, const char *path, int allowAbsolute) |
void | invokeCallbacksPRE (poptContext con, const struct poptOption *opt) |
void | invokeCallbacksPOST (poptContext con, const struct poptOption *opt) |
void | invokeCallbacksOPTION (poptContext con, const struct poptOption *opt, const struct poptOption *myOpt, const void *myData, int shorty) |
poptContext | poptGetContext (const char *name, int argc, const char **argv, const struct poptOption *options, int flags) |
void | cleanOSE (struct optionStackEntry *os) |
void | poptResetContext (poptContext con) |
int | handleExec (poptContext con, const char *longName, char shortName) |
int | handleAlias (poptContext con, const char *longName, char shortName, const char *nextCharArg) |
int | execCommand (poptContext con) |
const struct poptOption * | findOption (const struct poptOption *opt, const char *longName, char shortName, poptCallbackType *callback, const void **callbackData, int singleDash) |
const char * | findNextArg (poptContext con, unsigned argx, int delete_arg) |
const char * | expandNextArg (poptContext con, const char *s) |
void | poptStripArg (poptContext con, int which) |
int | poptSaveLong (const struct poptOption *opt, long aLong) |
int | poptSaveInt (const struct poptOption *opt, long aLong) |
int | poptGetNextOpt (poptContext con) |
const char * | poptGetOptArg (poptContext con) |
const char * | poptGetArg (poptContext con) |
const char * | poptPeekArg (poptContext con) |
const char ** | poptGetArgs (poptContext con) |
poptContext | poptFreeContext (poptContext con) |
int | poptAddAlias (poptContext con, struct poptAlias alias, int flags) |
int | poptAddItem (poptContext con, poptItem newItem, int flags) |
const char * | poptBadOption (poptContext con, int flags) |
const char *const | poptStrerror (const int error) |
int | poptStuffArgs (poptContext con, const char **argv) |
const char * | poptGetInvocationName (poptContext con) |
int | poptStrippedArgv (poptContext con, int argc, char **argv) |
Definition in file popt.c.
|
|
|
Definition at line 195 of file popt.c. References _free, and PBM_FREE. Referenced by poptGetNextOpt, and poptResetContext. |
|
Definition at line 349 of file popt.c. References alloca, and findProgramPath. Referenced by poptGetNextOpt. |
|
Definition at line 538 of file popt.c. References findNextArg. Referenced by poptGetNextOpt. |
|
Definition at line 500 of file popt.c. References optionStackEntry::argb, optionStackEntry::argc, optionStackEntry::argv, optionStackEntry::next, PBM_ALLOC, PBM_ISSET, and PBM_SET. Referenced by expandNextArg. |
|
Definition at line 434 of file popt.c. References callback, findOption, POPT_ARG_CALLBACK, POPT_ARG_INCLUDE_TABLE, POPT_ARG_MASK, and POPT_ARGFLAG_ONEDASH. Referenced by findOption, and poptGetNextOpt. |
|
Definition at line 297 of file popt.c. References POPT_OPTION_DEPTH, and poptDupArgv. Referenced by poptGetNextOpt. |
|
Definition at line 238 of file popt.c. Referenced by poptGetNextOpt. |
|
Definition at line 103 of file popt.c. References POPT_ARG_CALLBACK, POPT_ARG_INCLUDE_TABLE, and POPT_ARG_MASK. Referenced by poptGetNextOpt. |
|
Definition at line 80 of file popt.c. References POPT_ARG_CALLBACK, POPT_ARG_INCLUDE_TABLE, and POPT_ARG_MASK. Referenced by poptGetNextOpt. |
|
Definition at line 57 of file popt.c. References POPT_ARG_CALLBACK, POPT_ARG_INCLUDE_TABLE, and POPT_ARG_MASK. Referenced by poptGetContext. |
|
Definition at line 1054 of file popt.c. References alloca, and poptAddItem. |
|
Definition at line 1072 of file popt.c. References xstrdup. Referenced by configLine, and poptAddAlias. |
|
Definition at line 1116 of file popt.c. References optionStackEntry::argv, and optionStackEntry::next. Referenced by doSetupMacro, main, parseDescription, parseFiles, and parseScript. |
|
Definition at line 1010 of file popt.c. References _free, PBM_FREE, and poptResetContext. Referenced by doSetupMacro, main, parseDescription, parseFiles, and parseScript. |
|
Definition at line 980 of file popt.c. Referenced by main, parseDescription, parseFiles, and parseScript. |
|
Definition at line 996 of file popt.c. Referenced by main. |
|
Definition at line 148 of file popt.c. References getenv, and invokeCallbacksPRE. Referenced by doSetupMacro, main, parseDescription, parseFiles, and parseScript. |
|
|
|
Definition at line 659 of file popt.c. References _free, alloca, cleanOSE, errno, execCommand, EXIT_FAILURE, expandNextArg, findOption, handleAlias, handleExec, invokeCallbacksOPTION, invokeCallbacksPOST, PBM_ISSET, POPT_, POPT_ARG_DOUBLE, POPT_ARG_FLOAT, POPT_ARG_INT, POPT_ARG_LONG, POPT_ARG_MASK, POPT_ARG_NONE, POPT_ARG_STRING, POPT_ARG_VAL, POPT_ARGFLAG_ONEDASH, poptSaveInt, poptSaveLong, poptStripArg, and xstrdup. Referenced by doSetupMacro, main, parseDescription, parseFiles, and parseScript. |
|
Definition at line 968 of file popt.c. Referenced by doSetupMacro, and main. |
|
Definition at line 988 of file popt.c. Referenced by main, parseDescription, parseFiles, and parseScript. |
|
Definition at line 205 of file popt.c. References _free, cleanOSE, and PBM_FREE. Referenced by main, and poptFreeContext. |
|
Definition at line 630 of file popt.c. Referenced by poptGetNextOpt. |
|
Definition at line 602 of file popt.c. Referenced by poptGetNextOpt. |
|
Definition at line 47 of file popt.c. References _free, and xstrdup. Referenced by main. |
|
Definition at line 1128 of file popt.c. References errno, POPT_, and strerror. Referenced by doSetupMacro, main, parseDescription, parseFiles, and parseScript. |
|
Definition at line 586 of file popt.c. References PBM_ALLOC, and PBM_SET. Referenced by poptGetNextOpt. |
|
Definition at line 1184 of file popt.c. References PBM_ISSET. |
|
Definition at line 1156 of file popt.c. References POPT_OPTION_DEPTH, and poptDupArgv. Referenced by main. |
|
Definition at line 22 of file popt.c. Referenced by checkOwners, checkPassPhrase, dbiOpen, doScript, getFilesystemList, getOutputFrom, makeGPGSignature, makePGPSignature, packageBinaries, poptStrerror, processSourceFiles, rpmdbRebuild, rpmGetFilesystemUsage, rpmProblemString, rpmQueryVerify, verifyGPGSignature, and verifyPGPSignature. |