#include "system.h"
#include "poptint.h"
Go to the source code of this file.
Functions | |
void | configLine (poptContext con, char *line) |
int | poptReadConfigFile (poptContext con, const char *fn) |
int | poptReadDefaultConfig (poptContext con, int useEnv) |
Definition in file poptconfig.c.
|
Definition at line 13 of file poptconfig.c. References alloca(), poptContext_s::appName, poptItem_s::argc, poptOption::argDescrip, poptOption::argInfo, poptItem_s::argv, poptOption::descrip, poptOption::longName, poptItem_s::option, POPT_ARG_STRING, POPT_ARGFLAG_DOC_HIDDEN, poptAddItem(), poptParseArgvString(), and poptOption::shortName. Referenced by poptReadConfigFile(). |
|
Read configuration file.
Definition at line 95 of file poptconfig.c. References alloca(), configLine(), errno, POPT_ERROR_ERRNO, and SEEK_END. Referenced by main(), poptReadDefaultConfig(), and rpmcliInit(). |
|
Read default configuration from /etc/popt and $HOME/.popt.
Definition at line 166 of file poptconfig.c. References alloca(), poptContext_s::appName, getenv(), and poptReadConfigFile(). Referenced by main(), and rpmcliInit(). |