geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

options.c File Reference
#include "general.h"
#include "options_p.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "ctags.h"
#include "debug.h"
#include "entry_p.h"
#include "field_p.h"
#include "gvars.h"
#include "keyword_p.h"
#include "parse_p.h"
#include "ptag_p.h"
#include "routines_p.h"
#include "xtag_p.h"
#include "param_p.h"
#include "error_p.h"
#include "interactive_p.h"
#include "writer_p.h"
#include "trace.h"
Include dependency graph for options.c:

Go to the source code of this file.

Classes

struct  sOptionDescription
 
struct  parametricOption
 
struct  sBooleanOption
 
struct  localOptionValues
 
struct  Feature
 
struct  preloadPathElt
 

Macros

#define OPTION_WRITE
 
#define _GNU_SOURCE   /* for asprintf */
 
#define INVOCATION   "Usage: %s [options] [file(s)]\n"
 
#define CTAGS_ENVIRONMENT   "CTAGS"
 
#define ETAGS_ENVIRONMENT   "ETAGS"
 
#define ETAGS   "etags" /* name which causes default use of to -e */
 
#define EXTENSION_SEPARATOR   '.'
 
#define PATTERN_START   '('
 
#define PATTERN_STOP   ')'
 
#define IGNORE_SEPARATORS   ", \t\n"
 
#define DEFAULT_FILE_FORMAT   2
 
#define isCompoundOption(c)   (bool) (strchr ("fohiILpdDb", (c)) != NULL)
 
#define ENTER(STAGE)
 
#define ACCEPT(STAGE)   (1UL << OptionLoadingStage##STAGE)
 
#define STAGE_ANY   ~0UL
 
#define va_copy(dest, src)   (dest = src)
 
#define PREFIX   "fields-"
 
#define PREFIX_LEN   strlen(PREFIX)
 
#define PREFIX   "extras-"
 
#define PREFIX_LEN   strlen(PREFIX)
 

Typedefs

typedef struct sOptionDescription optionDescription
 
typedef void(* parametricOptionHandler) (const char *const option, const char *const parameter)
 
typedef const struct sBooleanOption booleanOption
 
typedef stringList searchPathList
 
typedef char *(* preloadMakePathFunc) (const char *, const char *)
 

Enumerations

enum  eOptionLimits { MaxHeaderExtensions = 100 , MaxSupportedTagFormat = 2 }
 

Functions

static bool parseFileOptions (const char *const fileName)
 
static bool parseAllConfigurationFilesOptionsInDirectory (const char *const fileName, stringList *const already_loaded_files)
 
static bool getBooleanOption (const char *const option, const char *const parameter)
 
int asprintf (char **strp, const char *fmt,...)
 
void verbose (const char *const format,...)
 
void notice (const char *const format,...)
 
static char * stringCopy (const char *const string)
 
static void freeString (char **const pString)
 
void freeList (stringList **const pList)
 
void setDefaultTagFileName (void)
 
bool filesRequired (void)
 
void checkOptions (void)
 
langType getLanguageComponentInOptionFull (const char *const option, const char *const prefix, bool noPretending)
 
langType getLanguageComponentInOption (const char *const option, const char *const prefix)
 
static void setEtagsMode (void)
 
void testEtagsInvocation (void)
 
static void setXrefMode (void)
 
static void parseShortOption (cookedArgs *const args)
 
static void parseLongOption (cookedArgs *const args, const char *item)
 
static void cArgRead (cookedArgs *const current)
 
cookedArgscArgNewFromString (const char *string)
 
cookedArgscArgNewFromArgv (char *const *const argv)
 
cookedArgscArgNewFromFile (FILE *const fp)
 
cookedArgscArgNewFromLineFile (FILE *const fp)
 
void cArgDelete (cookedArgs *const current)
 
static bool cArgOptionPending (cookedArgs *const current)
 
bool cArgOff (cookedArgs *const current)
 
bool cArgIsOption (cookedArgs *const current)
 
const char * cArgItem (cookedArgs *const current)
 
void cArgForth (cookedArgs *const current)
 
static void addExtensionList (stringList *const slist, const char *const elist, const bool clear)
 
static bool isFalse (const char *parameter)
 
static bool isTrue (const char *parameter)
 
bool paramParserBool (const char *value, bool fallback, const char *errWhat, const char *errCategory)
 
bool isIncludeFile (const char *const fileName)
 
static void processEtagsInclude (const char *const option, const char *const parameter)
 
static void processExcludeOptionCommon (stringList **list, const char *const optname, const char *const parameter)
 
static void processExcludeOption (const char *const option, const char *const parameter)
 
static void processExcludeExceptionOption (const char *const option, const char *const parameter)
 
bool isExcludedFile (const char *const name, bool falseIfExceptionsAreDefeind)
 
static void processExcmdOption (const char *const option, const char *const parameter)
 
static void resetXtags (langType lang, bool mode)
 
static void processExtraTagsOption (const char *const option, const char *const parameter)
 
static void resetFieldsOption (langType lang, bool mode)
 
static void processFieldsOption (const char *const option, const char *const parameter)
 
static void processFilterTerminatorOption (const char *const option, const char *const parameter)
 
static void processFormatOption (const char *const option, const char *const parameter)
 
static void printInvocationDescription (void)
 
static void printOptionDescriptions (const optionDescription *const optDesc)
 
static int excludesCompare (struct colprintLine *a, struct colprintLine *b)
 
static void processListExcludesOption (const char *const option, const char *const parameter)
 
static void printFeatureList (void)
 
static int featureCompare (struct colprintLine *a, struct colprintLine *b)
 
static void processListFeaturesOption (const char *const option, const char *const parameter)
 
static void processListFieldsOption (const char *const option, const char *const parameter)
 
static void printProgramIdentification (void)
 
static void processHelpOptionCommon (const char *const option, const char *const parameter, bool includingExperimentalOptions)
 
static void processHelpOption (const char *const option, const char *const parameter)
 
static void processHelpFullOption (const char *const option, const char *const parameter)
 
static void processIf0Option (const char *const option, const char *const parameter)
 
static void processLanguageForceOption (const char *const option, const char *const parameter)
 
static char * skipPastMap (char *p)
 
static char * extractMapFromParameter (const langType language, char *parameter, char **tail, bool *pattern_p, char *(*skip)(char *))
 
static char * addLanguageMap (const langType language, char *map_parameter, bool exclusiveInAllLanguages)
 
static char * removeLanguageMap (const langType language, char *map_parameter)
 
static char * processLanguageMap (char *map)
 
static void processLanguageMapOption (const char *const option, const char *const parameter)
 
static void processLanguagesOption (const char *const option, const char *const parameter)
 
bool processMapOption (const char *const option, const char *const parameter)
 
bool processParamOption (const char *const option, const char *const value)
 
static void processLicenseOption (const char *const option, const char *const parameter)
 
static void processListAliasesOption (const char *const option, const char *const parameter)
 
static void processListExtrasOption (const char *const option, const char *const parameter)
 
static void processListKindsOption (const char *const option, const char *const parameter)
 
static void processListParametersOption (const char *const option, const char *const parameter)
 
static void processListMapsOptionForType (const char *const option, const char *const parameter, langmapType type)
 
static void processListMapExtensionsOption (const char *const option, const char *const parameter)
 
static void processListMapPatternsOption (const char *const option, const char *const parameter)
 
static void processListMapsOption (const char *const option, const char *const parameter)
 
static void processListLanguagesOption (const char *const option, const char *const parameter)
 
static void processListPseudoTagsOptions (const char *const option, const char *const parameter)
 
static void processListRegexFlagsOptions (const char *const option, const char *const parameter)
 
static void processListMultilineRegexFlagsOptions (const char *const option, const char *const parameter)
 
static void processListMultitableRegexFlagsOptions (const char *const option, const char *const parameter)
 
static void processListLangdefFlagsOptions (const char *const option, const char *const parameter)
 
static void processListKinddefFlagsOptions (const char *const option, const char *const parameter)
 
static void processListRolesOptions (const char *const option, const char *const parameter)
 
static void processListSubparsersOptions (const char *const option, const char *const parameter)
 
static void freeSearchPathList (searchPathList **pathList)
 
static vStringexpandOnSearchPathList (searchPathList *pathList, const char *leaf, bool(*check)(const char *const))
 
static vStringexpandOnOptlibPathList (const char *leaf)
 
static void processOptionFileCommon (const char *const option, const char *const parameter, bool allowNonExistingFile)
 
static void processOptionFile (const char *const option, const char *const parameter)
 
static void processOptionFileMaybe (const char *const option, const char *const parameter)
 
static void processOutputFormat (const char *const option, const char *const parameter)
 
static void processPseudoTags (const char *const option, const char *const parameter)
 
static void processSortOption (const char *const option, const char *const parameter)
 
static void processTagRelative (const char *const option, const char *const parameter)
 
static void processTotals (const char *const option, const char *const parameter)
 
static void installHeaderListDefaults (void)
 
static void processHeaderListOption (const int option, const char *parameter)
 
static void readIgnoreList (const char *const list)
 
static void addIgnoreListFromFile (const char *const fileName)
 
static void processIgnoreOption (const char *const list, int IgnoreOrDefine)
 
static void processAnonHashOption (const char *const option, const char *const parameter)
 
static void processDumpKeywordsOption (const char *const option, const char *const parameter)
 
static void processEchoOption (const char *const option, const char *const parameter)
 
static void processForceInitOption (const char *const option, const char *const parameter)
 
static void processForceQuitOption (const char *const option, const char *const parameter)
 
static void processVersionOption (const char *const option, const char *const parameter)
 
static void processXformatOption (const char *const option, const char *const parameter)
 
static void prependToOptlibPathList (const char *const dir, bool report_in_verbose)
 
static void resetOptlibPathList (bool report_in_verbose)
 
static void processOptlibDir (const char *const option, const char *const parameter)
 
static void processMaxRecursionDepthOption (const char *const option, const char *const parameter)
 
static void processPatternLengthLimit (const char *const option, const char *const parameter)
 
bool ptagMakePatternLengthLimit (ptagDesc *pdesc, langType language, const void *data)
 
static void setBooleanToXtagWithWarning (booleanOption *const option, bool value)
 
static void processDumpOptionsOption (const char *const option, const char *const parameter)
 
static void checkOptionOrder (const char *const option, bool longOption)
 
static bool processParametricOption (const char *const option, const char *const parameter)
 
static bool processBooleanOption (const char *const option, const char *const parameter)
 
static void enableLanguageField (langType language, const char *field, bool mode)
 
static void enableLanguageXtag (langType language, const char *xtag, bool mode)
 
static bool processLangSpecificFieldsOption (const char *const option, const char *const parameter)
 
static bool processLangSpecificExtraOption (const char *const option, const char *const parameter)
 
static bool processRegexOption (const char *const option, const char *const parameter)
 
static bool processMultilineRegexOption (const char *const option, const char *const parameter)
 
static bool processMultitableRegexOption (const char *const option, const char *const parameter)
 
static bool processMultitableExtendingOption (const char *const option, const char *const parameter)
 
static void processLongOption (const char *const option, const char *const parameter)
 
static void processShortOption (const char *const option, const char *const parameter)
 
static void parseOption (cookedArgs *const args)
 
static void parseOptions (cookedArgs *const args)
 
void parseCmdlineOptions (cookedArgs *const args)
 
static bool checkSameFile (const char *const fileName, void *userData)
 
void previewFirstOption (cookedArgs *const args)
 
static char * prependEnvvar (const char *path, const char *envvar)
 
static char * getConfigForXDG (const char *path, const char *extra)
 
static void preload (struct preloadPathElt *pathList)
 
static void parseConfigurationFileOptions (void)
 
static void parseEnvironmentOptions (void)
 
void readOptionConfiguration (void)
 
void initOptions (void)
 
void freeOptionResources (void)
 
bool inSandbox (void)
 
bool canUseLineNumberAsLocator (void)
 
bool isDestinationStdout (void)
 

Variables

static bool NonOptionEncountered = false
 
static stringListOptionFiles
 
static searchPathListOptlibPathList
 
static stringListExcluded
 
static stringListExcludedException
 
static bool FilesRequired = true
 
static bool SkipConfiguration
 
static const char *const HeaderExtensions []
 
long ctags_debugLevel = 0L
 
bool ctags_verbose = false
 
optionValues Option
 
struct localOptionValues localOption
 
static OptionLoadingStage Stage = OptionLoadingStageNone
 
static optionDescription LongOptionDescription []
 
static optionDescription ExperimentalLongOptionDescription []
 
static const char *const License1
 
static const char *const License2
 
static struct Feature Features []
 
static const char *const StageDescription []
 
static parametricOption ParametricOptions []
 
static booleanOption BooleanOptions []
 
static struct preloadPathElt preload_path_list []
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE   /* for asprintf */

Definition at line 19 of file options.c.

◆ ACCEPT

#define ACCEPT (   STAGE)    (1UL << OptionLoadingStage##STAGE)

Definition at line 83 of file options.c.

◆ CTAGS_ENVIRONMENT

#define CTAGS_ENVIRONMENT   "CTAGS"

Definition at line 51 of file options.c.

◆ DEFAULT_FILE_FORMAT

#define DEFAULT_FILE_FORMAT   2

Definition at line 66 of file options.c.

◆ ENTER

#define ENTER (   STAGE)
Value:
do { \
Assert (Stage <= OptionLoadingStage##STAGE); \
if (Stage != OptionLoadingStage##STAGE) \
{ \
Stage = OptionLoadingStage##STAGE; \
verbose ("Entering configuration stage: loading %s\n", StageDescription[Stage]); \
} \
} while (0)
static const char *const StageDescription[]
Definition: options.c:577
static OptionLoadingStage Stage
Definition: options.c:192
enum eOptionLoadingStage OptionLoadingStage

Definition at line 75 of file options.c.

◆ ETAGS

#define ETAGS   "etags" /* name which causes default use of to -e */

Definition at line 55 of file options.c.

◆ ETAGS_ENVIRONMENT

#define ETAGS_ENVIRONMENT   "ETAGS"

Definition at line 52 of file options.c.

◆ EXTENSION_SEPARATOR

#define EXTENSION_SEPARATOR   '.'

Definition at line 60 of file options.c.

◆ IGNORE_SEPARATORS

#define IGNORE_SEPARATORS   ", \t\n"

Definition at line 63 of file options.c.

◆ INVOCATION

#define INVOCATION   "Usage: %s [options] [file(s)]\n"

Definition at line 49 of file options.c.

◆ isCompoundOption

#define isCompoundOption (   c)    (bool) (strchr ("fohiILpdDb", (c)) != NULL)

Definition at line 73 of file options.c.

◆ OPTION_WRITE

#define OPTION_WRITE

Definition at line 15 of file options.c.

◆ PATTERN_START

#define PATTERN_START   '('

Definition at line 61 of file options.c.

◆ PATTERN_STOP

#define PATTERN_STOP   ')'

Definition at line 62 of file options.c.

◆ PREFIX [1/2]

#define PREFIX   "fields-"

◆ PREFIX [2/2]

#define PREFIX   "extras-"

◆ PREFIX_LEN [1/2]

#define PREFIX_LEN   strlen(PREFIX)

◆ PREFIX_LEN [2/2]

#define PREFIX_LEN   strlen(PREFIX)

◆ STAGE_ANY

#define STAGE_ANY   ~0UL

Definition at line 193 of file options.c.

◆ va_copy

#define va_copy (   dest,
  src 
)    (dest = src)

Definition at line 613 of file options.c.

Typedef Documentation

◆ booleanOption

typedef const struct sBooleanOption booleanOption

◆ optionDescription

◆ parametricOptionHandler

typedef void(* parametricOptionHandler) (const char *const option, const char *const parameter)

Definition at line 99 of file options.c.

◆ preloadMakePathFunc

typedef char *(* preloadMakePathFunc) (const char *, const char *)

Definition at line 3610 of file options.c.

◆ searchPathList

Definition at line 123 of file options.c.

Enumeration Type Documentation

◆ eOptionLimits

Enumerator
MaxHeaderExtensions 
MaxSupportedTagFormat 

Definition at line 89 of file options.c.

Function Documentation

◆ addExtensionList()

static void addExtensionList ( stringList *const  slist,
const char *const  elist,
const bool  clear 
)
static

◆ addIgnoreListFromFile()

static void addIgnoreListFromFile ( const char *const  fileName)
static

◆ addLanguageMap()

static char * addLanguageMap ( const langType  language,
char *  map_parameter,
bool  exclusiveInAllLanguages 
)
static

◆ asprintf()

int asprintf ( char **  strp,
const char *  fmt,
  ... 
)

Definition at line 616 of file options.c.

References Assert, dummy, and va_copy.

◆ canUseLineNumberAsLocator()

bool canUseLineNumberAsLocator ( void  )

Definition at line 3913 of file options.c.

References EX_PATTERN, sOptionValues::locate, and Option.

Referenced by makeFortranTag().

◆ cArgDelete()

void cArgDelete ( cookedArgs *const  current)

◆ cArgForth()

◆ cArgIsOption()

bool cArgIsOption ( cookedArgs *const  current)

Definition at line 990 of file options.c.

References Assert, sCookedArgs::isOption, and NULL.

Referenced by parseOptions(), and previewFirstOption().

◆ cArgItem()

const char * cArgItem ( cookedArgs *const  current)

Definition at line 996 of file options.c.

References Assert, sCookedArgs::item, and NULL.

Referenced by createTagsForArgs(), and createTagsFromFileInput().

◆ cArgNewFromArgv()

cookedArgs * cArgNewFromArgv ( char *const *const  argv)

Definition at line 938 of file options.c.

References argNewFromArgv(), sCookedArgs::args, cArgRead(), and xMalloc.

Referenced by ctags_cli_main().

◆ cArgNewFromFile()

cookedArgs * cArgNewFromFile ( FILE *const  fp)

Definition at line 947 of file options.c.

References argNewFromFile(), sCookedArgs::args, cArgRead(), and xMalloc.

◆ cArgNewFromLineFile()

cookedArgs * cArgNewFromLineFile ( FILE *const  fp)

Definition at line 956 of file options.c.

References argNewFromLineFile(), sCookedArgs::args, cArgRead(), and xMalloc.

Referenced by createTagsFromFileInput(), and parseFileOptions().

◆ cArgNewFromString()

cookedArgs * cArgNewFromString ( const char *  string)

Definition at line 929 of file options.c.

References argNewFromString(), sCookedArgs::args, cArgRead(), and xMalloc.

Referenced by parseEnvironmentOptions().

◆ cArgOff()

bool cArgOff ( cookedArgs *const  current)

◆ cArgOptionPending()

static bool cArgOptionPending ( cookedArgs *const  current)
static

Definition at line 975 of file options.c.

References NULL, and sCookedArgs::shortOptions.

Referenced by cArgForth(), and cArgOff().

◆ cArgRead()

◆ checkOptionOrder()

static void checkOptionOrder ( const char *const  option,
bool  longOption 
)
static

Definition at line 2900 of file options.c.

References error(), FATAL, and NonOptionEncountered.

Referenced by processBooleanOption(), processParametricOption(), and processShortOption().

◆ checkOptions()

◆ checkSameFile()

static bool checkSameFile ( const char *const  fileName,
void *  userData 
)
static

Definition at line 3470 of file options.c.

References isSameFile().

Referenced by parseFileOptions().

◆ enableLanguageField()

static void enableLanguageField ( langType  language,
const char *  field,
bool  mode 
)
static

◆ enableLanguageXtag()

static void enableLanguageXtag ( langType  language,
const char *  xtag,
bool  mode 
)
static

◆ excludesCompare()

static int excludesCompare ( struct colprintLine *  a,
struct colprintLine *  b 
)
static

Definition at line 1467 of file options.c.

References colprintLineGetColumn().

Referenced by processListExcludesOption().

◆ expandOnOptlibPathList()

static vString * expandOnOptlibPathList ( const char *  leaf)
static

Definition at line 2317 of file options.c.

References doesFileExist(), expandOnSearchPathList(), and OptlibPathList.

Referenced by processOptionFileCommon().

◆ expandOnSearchPathList()

static vString * expandOnSearchPathList ( searchPathList pathList,
const char *  leaf,
bool(*)(const char *const)  check 
)
static

◆ extractMapFromParameter()

static char * extractMapFromParameter ( const langType  language,
char *  parameter,
char **  tail,
bool *  pattern_p,
char *(*)(char *)  skip 
)
static

◆ featureCompare()

static int featureCompare ( struct colprintLine *  a,
struct colprintLine *  b 
)
static

Definition at line 1517 of file options.c.

References colprintLineGetColumn().

Referenced by processListFeaturesOption().

◆ filesRequired()

bool filesRequired ( void  )

Definition at line 722 of file options.c.

References FilesRequired, Option, and sOptionValues::recurse.

Referenced by batchMakeTags().

◆ freeList()

void freeList ( stringList **const  pList)

Definition at line 697 of file options.c.

References NULL, and stringListDelete().

Referenced by freeOptionResources(), freeParserResources(), and processExcludeOptionCommon().

◆ freeOptionResources()

◆ freeSearchPathList()

static void freeSearchPathList ( searchPathList **  pathList)
static

Definition at line 2289 of file options.c.

References NULL, stringListClear(), and stringListDelete().

Referenced by freeOptionResources(), and resetOptlibPathList().

◆ freeString()

static void freeString ( char **const  pString)
static

Definition at line 688 of file options.c.

References eFree(), and NULL.

Referenced by freeOptionResources(), processFilterTerminatorOption(), and processShortOption().

◆ getBooleanOption()

static bool getBooleanOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2933 of file options.c.

References paramParserBool().

Referenced by processBooleanOption(), and processIf0Option().

◆ getConfigForXDG()

static char * getConfigForXDG ( const char *  path,
const char *  extra 
)
static

Definition at line 3632 of file options.c.

References prependEnvvar().

◆ getLanguageComponentInOption()

◆ getLanguageComponentInOptionFull()

langType getLanguageComponentInOptionFull ( const char *const  option,
const char *const  prefix,
bool  noPretending 
)

◆ initOptions()

◆ inSandbox()

bool inSandbox ( void  )

Definition at line 3908 of file options.c.

References sOptionValues::interactive, and Option.

◆ installHeaderListDefaults()

static void installHeaderListDefaults ( void  )
static

◆ isDestinationStdout()

bool isDestinationStdout ( void  )

◆ isExcludedFile()

bool isExcludedFile ( const char *const  name,
bool  falseIfExceptionsAreDefeind 
)

◆ isFalse()

static bool isFalse ( const char *  parameter)
static

◆ isIncludeFile()

bool isIncludeFile ( const char *const  fileName)

◆ isTrue()

static bool isTrue ( const char *  parameter)
static

Definition at line 1083 of file options.c.

References strcasecmp.

Referenced by paramParserBool(), processSortOption(), processTagRelative(), and processTotals().

◆ notice()

void notice ( const char *const  format,
  ... 
)

Definition at line 666 of file options.c.

References format, getExecutableName(), Option, and sOptionValues::quiet.

Referenced by checkOptions(), previewFirstOption(), and processEchoOption().

◆ paramParserBool()

bool paramParserBool ( const char *  value,
bool  fallback,
const char *  errWhat,
const char *  errCategory 
)

Definition at line 1093 of file options.c.

References error(), fallback, FATAL, isFalse(), and isTrue().

Referenced by getBooleanOption().

◆ parseAllConfigurationFilesOptionsInDirectory()

static bool parseAllConfigurationFilesOptionsInDirectory ( const char *const  fileName,
stringList *const  already_loaded_files 
)
static

Definition at line 3603 of file options.c.

Referenced by preload(), and processOptionFileCommon().

◆ parseCmdlineOptions()

void parseCmdlineOptions ( cookedArgs *const  args)

Definition at line 3464 of file options.c.

References ENTER, and parseOptions().

Referenced by createTagsForArgs(), createTagsFromFileInput(), and ctags_cli_main().

◆ parseConfigurationFileOptions()

static void parseConfigurationFileOptions ( void  )
static

Definition at line 3759 of file options.c.

References preload(), and preload_path_list.

Referenced by readOptionConfiguration().

◆ parseEnvironmentOptions()

static void parseEnvironmentOptions ( void  )
static

◆ parseFileOptions()

static bool parseFileOptions ( const char *const  fileName)
static

◆ parseLongOption()

static void parseLongOption ( cookedArgs *const  args,
const char *  item 
)
static

Definition at line 877 of file options.c.

References Assert, eStrdup(), eStrndup(), sCookedArgs::item, NULL, and sCookedArgs::parameter.

Referenced by cArgRead().

◆ parseOption()

◆ parseOptions()

static void parseOptions ( cookedArgs *const  args)
static

◆ parseShortOption()

static void parseShortOption ( cookedArgs *const  args)
static

◆ preload()

◆ prependEnvvar()

static char * prependEnvvar ( const char *  path,
const char *  envvar 
)
static

Definition at line 3620 of file options.c.

References combinePathAndFile(), and NULL.

Referenced by getConfigForXDG().

◆ prependToOptlibPathList()

static void prependToOptlibPathList ( const char *const  dir,
bool  report_in_verbose 
)
static

Definition at line 2703 of file options.c.

References OptlibPathList, stringListAdd(), verbose(), and vStringNewInit().

Referenced by processOptlibDir().

◆ previewFirstOption()

void previewFirstOption ( cookedArgs *const  args)

◆ printFeatureList()

static void printFeatureList ( void  )
static

Definition at line 1497 of file options.c.

References checkRegex(), Features, Feature::name, name, and NULL.

Referenced by printProgramIdentification().

◆ printInvocationDescription()

static void printInvocationDescription ( void  )
static

Definition at line 1451 of file options.c.

References getExecutableName(), and INVOCATION.

Referenced by processHelpOptionCommon().

◆ printOptionDescriptions()

static void printOptionDescriptions ( const optionDescription *const  optDesc)
static

◆ printProgramIdentification()

static void printProgramIdentification ( void  )
static

◆ processAnonHashOption()

static void processAnonHashOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2608 of file options.c.

References anonHashString(), error(), FATAL, and NULL.

◆ processBooleanOption()

static bool processBooleanOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processDumpKeywordsOption()

static void processDumpKeywordsOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2619 of file options.c.

References dumpKeywordTable().

◆ processDumpOptionsOption()

static void processDumpOptionsOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 3897 of file options.c.

References ARRAY_SIZE, BooleanOptions, name, and ParametricOptions.

◆ processEchoOption()

static void processEchoOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2624 of file options.c.

References error(), FATAL, notice(), and NULL.

◆ processEtagsInclude()

static void processEtagsInclude ( const char *const  option,
const char *const  parameter 
)
static

◆ processExcludeExceptionOption()

static void processExcludeExceptionOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1178 of file options.c.

References ExcludedException, and processExcludeOptionCommon().

◆ processExcludeOption()

static void processExcludeOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1172 of file options.c.

References Excluded, and processExcludeOptionCommon().

Referenced by initOptions().

◆ processExcludeOptionCommon()

static void processExcludeOptionCommon ( stringList **  list,
const char *const  optname,
const char *const  parameter 
)
static

◆ processExcmdOption()

static void processExcmdOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1216 of file options.c.

References error(), EX_COMBINE, EX_LINENUM, EX_MIX, EX_PATTERN, FATAL, sOptionValues::locate, and Option.

◆ processExtraTagsOption()

static void processExtraTagsOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processFieldsOption()

static void processFieldsOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processFilterTerminatorOption()

static void processFilterTerminatorOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1408 of file options.c.

References sOptionValues::filterTerminator, freeString(), Option, and stringCopy().

◆ processForceInitOption()

static void processForceInitOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2631 of file options.c.

References initializeParser(), LANG_AUTO, and verbose().

◆ processForceQuitOption()

static void processForceQuitOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2638 of file options.c.

References NULL, and strToInt().

◆ processFormatOption()

static void processFormatOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1415 of file options.c.

References error(), FATAL, format, MaxSupportedTagFormat, Option, and sOptionValues::tagFileFormat.

◆ processHeaderListOption()

static void processHeaderListOption ( const int  option,
const char *  parameter 
)
static

◆ processHelpFullOption()

static void processHelpFullOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1623 of file options.c.

References processHelpOptionCommon().

◆ processHelpOption()

static void processHelpOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1615 of file options.c.

References processHelpOptionCommon().

Referenced by processShortOption().

◆ processHelpOptionCommon()

static void processHelpOptionCommon ( const char *const  option,
const char *const  parameter,
bool  includingExperimentalOptions 
)
static

◆ processIf0Option()

static void processIf0Option ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 1678 of file options.c.

References applyParameter(), getBooleanOption(), and getNamedLanguage().

◆ processIgnoreOption()

static void processIgnoreOption ( const char *const  list,
int  IgnoreOrDefine 
)
static

◆ processLangSpecificExtraOption()

static bool processLangSpecificExtraOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processLangSpecificFieldsOption()

static bool processLangSpecificFieldsOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processLanguageForceOption()

static void processLanguageForceOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processLanguageMap()

static char * processLanguageMap ( char *  map)
static

◆ processLanguageMapOption()

static void processLanguageMapOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processLanguagesOption()

static void processLanguagesOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processLicenseOption()

static void processLicenseOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2018 of file options.c.

References License1, License2, and printProgramIdentification().

◆ processListAliasesOption()

static void processListAliasesOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processListExcludesOption()

◆ processListExtrasOption()

◆ processListFeaturesOption()

◆ processListFieldsOption()

◆ processListKinddefFlagsOptions()

static void processListKinddefFlagsOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListKindsOption()

static void processListKindsOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processListLangdefFlagsOptions()

static void processListLangdefFlagsOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListLanguagesOption()

static void processListLanguagesOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2159 of file options.c.

References printLanguageList().

◆ processListMapExtensionsOption()

static void processListMapExtensionsOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2140 of file options.c.

References LMAP_EXTENSION, LMAP_TABLE_OUTPUT, and processListMapsOptionForType().

◆ processListMapPatternsOption()

static void processListMapPatternsOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2146 of file options.c.

References LMAP_PATTERN, LMAP_TABLE_OUTPUT, and processListMapsOptionForType().

◆ processListMapsOption()

static void processListMapsOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2152 of file options.c.

References LMAP_ALL, and processListMapsOptionForType().

◆ processListMapsOptionForType()

static void processListMapsOptionForType ( const char *const  option,
const char *const  parameter,
langmapType  type 
)
static

◆ processListMultilineRegexFlagsOptions()

static void processListMultilineRegexFlagsOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListMultitableRegexFlagsOptions()

static void processListMultitableRegexFlagsOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListParametersOption()

static void processListParametersOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processListPseudoTagsOptions()

static void processListPseudoTagsOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListRegexFlagsOptions()

static void processListRegexFlagsOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListRolesOptions()

static void processListRolesOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processListSubparsersOptions()

static void processListSubparsersOptions ( const char *const  option,
const char *const  parameter 
)
static

◆ processLongOption()

◆ processMapOption()

bool processMapOption ( const char *const  option,
const char *const  parameter 
)

◆ processMaxRecursionDepthOption()

static void processMaxRecursionDepthOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2747 of file options.c.

References error(), FATAL, sOptionValues::maxRecursionDepth, NULL, and Option.

◆ processMultilineRegexOption()

static bool processMultilineRegexOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processMultitableExtendingOption()

static bool processMultitableExtendingOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processMultitableRegexOption()

static bool processMultitableRegexOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processOptionFile()

static void processOptionFile ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2365 of file options.c.

References processOptionFileCommon().

◆ processOptionFileCommon()

static void processOptionFileCommon ( const char *const  option,
const char *const  parameter,
bool  allowNonExistingFile 
)
static

◆ processOptionFileMaybe()

static void processOptionFileMaybe ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2371 of file options.c.

References processOptionFileCommon().

◆ processOptlibDir()

static void processOptlibDir ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2722 of file options.c.

References Assert, prependToOptlibPathList(), and resetOptlibPathList().

◆ processOutputFormat()

static void processOutputFormat ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2377 of file options.c.

References error(), FATAL, NULL, setEtagsMode(), setTagWriter(), setXrefMode(), and WRITER_E_CTAGS.

◆ processParametricOption()

static bool processParametricOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2906 of file options.c.

References checkOptionOrder(), count, entry, error(), ParametricOptions, Stage, StageDescription, and WARNING.

Referenced by processLongOption().

◆ processParamOption()

bool processParamOption ( const char *const  option,
const char *const  value 
)

◆ processPatternLengthLimit()

static void processPatternLengthLimit ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2758 of file options.c.

References error(), FATAL, NULL, Option, sOptionValues::patternLengthLimit, and strToUInt().

◆ processPseudoTags()

static void processPseudoTags ( const char *const  option,
const char *const  parameter 
)
static

◆ processRegexOption()

static bool processRegexOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processShortOption()

◆ processSortOption()

static void processSortOption ( const char *const  option,
const char *const  parameter 
)
static

◆ processTagRelative()

static void processTagRelative ( const char *const  option,
const char *const  parameter 
)
static

◆ processTotals()

static void processTotals ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2499 of file options.c.

References error(), FATAL, isFalse(), isTrue(), Option, sOptionValues::printTotals, and strcasecmp.

◆ processVersionOption()

static void processVersionOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2647 of file options.c.

References printProgramIdentification().

◆ processXformatOption()

static void processXformatOption ( const char *const  option,
const char *const  parameter 
)
static

Definition at line 2694 of file options.c.

References sOptionValues::customXfmt, fmtDelete(), fmtNew(), and Option.

◆ ptagMakePatternLengthLimit()

bool ptagMakePatternLengthLimit ( ptagDesc pdesc,
langType  language,
const void *  data 
)

Definition at line 2767 of file options.c.

References NULL, sOptionValues::patternLengthLimit, and writePseudoTag().

◆ readIgnoreList()

static void readIgnoreList ( const char *const  list)
static

Definition at line 2553 of file options.c.

References applyParameter(), eFree(), getNamedLanguage(), IGNORE_SEPARATORS, list, NULL, and stringCopy().

Referenced by processIgnoreOption().

◆ readOptionConfiguration()

void readOptionConfiguration ( void  )

Definition at line 3791 of file options.c.

References parseConfigurationFileOptions(), parseEnvironmentOptions(), and SkipConfiguration.

Referenced by ctags_cli_main().

◆ removeLanguageMap()

static char * removeLanguageMap ( const langType  language,
char *  map_parameter 
)
static

◆ resetFieldsOption()

static void resetFieldsOption ( langType  lang,
bool  mode 
)
static

◆ resetOptlibPathList()

static void resetOptlibPathList ( bool  report_in_verbose)
static

Definition at line 2714 of file options.c.

References freeSearchPathList(), OptlibPathList, stringListNew(), and verbose().

Referenced by processOptlibDir().

◆ resetXtags()

static void resetXtags ( langType  lang,
bool  mode 
)
static

◆ setBooleanToXtagWithWarning()

static void setBooleanToXtagWithWarning ( booleanOption *const  option,
bool  value 
)
static

Definition at line 2778 of file options.c.

References enableXtag(), error(), sBooleanOption::name, sBooleanOption::pValue, and WARNING.

◆ setDefaultTagFileName()

void setDefaultTagFileName ( void  )

◆ setEtagsMode()

◆ setXrefMode()

static void setXrefMode ( void  )
static

Definition at line 834 of file options.c.

References NULL, Option, setTagWriter(), WRITER_XREF, and sOptionValues::xref.

Referenced by processOutputFormat(), and processShortOption().

◆ skipPastMap()

static char * skipPastMap ( char *  p)
static

Definition at line 1706 of file options.c.

References EXTENSION_SEPARATOR, and PATTERN_START.

Referenced by addLanguageMap(), and removeLanguageMap().

◆ stringCopy()

static char * stringCopy ( const char *const  string)
static

◆ testEtagsInvocation()

void testEtagsInvocation ( void  )

Definition at line 817 of file options.c.

References eFree(), eStrdup(), ETAGS, getExecutableName(), NULL, setEtagsMode(), strstr(), toLowerString(), and verbose().

Referenced by ctags_cli_main().

◆ verbose()

void verbose ( const char *const  format,
  ... 
)

Definition at line 655 of file options.c.

References ctags_verbose, and format.

Referenced by addExtensionList(), analyzePostParens(), batchMakeTags(), chooseExclusiveSubparser(), corkSymtabPut(), createTags(), createTagsForEntry(), ctags_cli_main(), defineKind(), defineScopeSeparator(), defineXtag(), doesParserRequireMemoryStream(), enableField(), extendRegexTable(), findCTags(), findFortranTags(), foreachEntriesInScope(), getFileLanguageForRequestInternal(), getSpecLanguageCommon(), guestRequestSubmit(), handleUnicodeCodePoint(), initializeParserOne(), initializeParsing(), initializeParsingCommon(), initOptions(), installLanguageAliasesDefaults(), installLanguageMapDefaults(), matchMultitableRegexTable(), openInputFile(), parseEnvironmentOptions(), parseFileOptions(), parseFileWithMio(), parseString(), pickLanguageBySelection(), popNarrowedInputStream(), preload(), prependToOptlibPathList(), processAliasOption(), processExcludeOptionCommon(), processForceInitOption(), processHeaderListOption(), processLangAliasOption(), processLanguageMap(), processLanguageMapOption(), processLanguagesOption(), processLongOption(), processMapOption(), processPretendOption(), processShortOption(), processTagRegexOption(), pushNarrowedInputStream(), recurseIntoDirectory(), removeLanguageExtensionMap1(), removeLanguagePatternMap1(), renderEscapedName(), resetOptlibPathList(), runParserInNarrowedInputStream(), scheduleRunningBaseparser(), skipInitializer(), skipToMatch(), sortTagFile(), tasteLanguage(), testEtagsInvocation(), and verboseReportCandidate().

Variable Documentation

◆ BooleanOptions

booleanOption BooleanOptions[]
static
Initial value:
= {
{ "append", &Option.append, true, ~0UL },
{ "file-scope", ((bool *)XTAG_FILE_SCOPE), false, ~0UL , setBooleanToXtagWithWarning },
{ "file-tags", ((bool *)XTAG_FILE_NAMES), false, ~0UL , setBooleanToXtagWithWarning },
{ "filter", &Option.filter, true, ~0UL },
{ "guess-language-eagerly", &Option.guessLanguageEagerly, false, ~0UL },
{ "line-directives",&Option.lineDirectives, false, ~0UL },
{ "links", &Option.followLinks, false, ~0UL },
{ "machinable", &localOption.machinable, true, ~0UL },
{ "put-field-prefix", &Option.putFieldPrefix, false, ~0UL },
{ "print-language", &Option.printLanguage, true, ~0UL },
{ "quiet", &Option.quiet, false, ~0UL },
{ "verbose", &ctags_verbose, false, ~0UL },
{ "with-list-header", &localOption.withListHeader, true, ~0UL },
{ "_fatal-warnings",&Option.fatalWarnings, false, ~0UL },
}
struct localOptionValues localOption
bool ctags_verbose
Definition: options.c:135
static void setBooleanToXtagWithWarning(booleanOption *const option, bool value)
Definition: options.c:2778
optionValues Option
Definition: options.c:137
bool withListHeader
Definition: options.c:186
bool followLinks
Definition: options_p.h:108
bool lineDirectives
Definition: options_p.h:113
bool putFieldPrefix
Definition: options_p.h:119
bool printLanguage
Definition: options_p.h:114
bool fatalWarnings
Definition: options_p.h:117
bool guessLanguageEagerly
Definition: options_p.h:115
@ XTAG_FILE_SCOPE
Definition: xtag.h:28
@ XTAG_FILE_NAMES
Definition: xtag.h:29

Definition at line 2873 of file options.c.

Referenced by processBooleanOption(), and processDumpOptionsOption().

◆ ctags_debugLevel

long ctags_debugLevel = 0L

Definition at line 134 of file options.c.

Referenced by processShortOption().

◆ ctags_verbose

bool ctags_verbose = false

Definition at line 135 of file options.c.

Referenced by processShortOption(), and verbose().

◆ Excluded

stringList* Excluded
static

◆ ExcludedException

stringList * ExcludedException
static

Definition at line 126 of file options.c.

Referenced by freeOptionResources(), isExcludedFile(), and processExcludeExceptionOption().

◆ ExperimentalLongOptionDescription

optionDescription ExperimentalLongOptionDescription[]
static

Definition at line 441 of file options.c.

Referenced by processHelpOptionCommon().

◆ Features

struct Feature Features[]
static

◆ FilesRequired

bool FilesRequired = true
static

Definition at line 127 of file options.c.

Referenced by filesRequired(), and processEtagsInclude().

◆ HeaderExtensions

const char* const HeaderExtensions[]
static
Initial value:
= {
"h", "H", "hh", "hpp", "hxx", "h++", "inc", "def", NULL
}
#define NULL
Definition: rbtree.h:150

Definition at line 130 of file options.c.

Referenced by installHeaderListDefaults().

◆ License1

const char* const License1
static
Initial value:
=
"This program is free software; you can redistribute it and/or\n"
"modify it under the terms of the GNU General Public License\n"
"as published by the Free Software Foundation; either version 2"
"of the License, or (at your option) any later version.\n"
"\n"

Definition at line 503 of file options.c.

Referenced by processLicenseOption().

◆ License2

const char* const License2
static
Initial value:
=
"This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public License for more details.\n"
"\n"
"You should have received a copy of the GNU General Public License\n"
"along with this program; if not, write to the Free Software\n"
"Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"

Definition at line 509 of file options.c.

Referenced by processLicenseOption().

◆ localOption

◆ LongOptionDescription

optionDescription LongOptionDescription[]
static

Definition at line 199 of file options.c.

Referenced by processHelpOptionCommon().

◆ NonOptionEncountered

bool NonOptionEncountered = false
static

◆ Option

optionValues Option

Definition at line 137 of file options.c.

Referenced by addCommonPseudoTags(), appendInputLine(), batchMakeTags(), canUseLineNumberAsLocator(), checkOptions(), closeInputFile(), closeTagFile(), createTagsForEntry(), createTagsFromFileInput(), ctags_cli_main(), Scintilla::OptionSet< T >::DefineProperty(), doesContainAnyCharInInput(), etagsInclude(), fileNewline(), filesRequired(), freeOptionResources(), getFieldName(), getFileLanguageForRequest(), getFileLanguageForRequestInternal(), hasTagEntryTabOrNewlineChar(), iFileGetLine(), initializeParserStats(), initTagEntryFull(), inSandbox(), installHeaderListDefaults(), internalSortTags(), isDestinationStdout(), isIncludeFile(), makeDefineTag(), makePatternStringCommon(), notice(), openTagFile(), parseEnvironmentOptions(), parseFileWithMio(), printGuessedParser(), printOptionDescriptions(), processEtagsInclude(), processExcmdOption(), processFilterTerminatorOption(), processFormatOption(), processHeaderListOption(), processLanguageForceOption(), processMaxRecursionDepthOption(), processPatternLengthLimit(), processShortOption(), processSortOption(), processTagRelative(), processTotals(), processXformatOption(), recurseIntoDirectory(), renderFieldInput(), renderFieldInputNoEscape(), renderFieldLanguage(), renderFieldLineNumber(), setDefaultTagFileName(), setEtagsMode(), setInputFileParametersCommon(), setXrefMode(), sortTagFile(), stderrDefaultErrorPrinter(), updateSortedFlag(), writeCtagsEntry(), writeEtagsEntry(), writeEtagsIncludes(), writeLineNumberEntry(), writeSortedTags(), writeTagEntry(), and writeXrefEntry().

◆ OptionFiles

stringList* OptionFiles
static

Definition at line 121 of file options.c.

Referenced by freeOptionResources(), initOptions(), and parseFileOptions().

◆ OptlibPathList

◆ ParametricOptions

parametricOption ParametricOptions[]
static

Definition at line 2803 of file options.c.

Referenced by processDumpOptionsOption(), and processParametricOption().

◆ preload_path_list

struct preloadPathElt preload_path_list[]
static

Definition at line 3708 of file options.c.

Referenced by parseConfigurationFileOptions().

◆ SkipConfiguration

bool SkipConfiguration
static

Definition at line 128 of file options.c.

Referenced by previewFirstOption(), and readOptionConfiguration().

◆ Stage

Definition at line 192 of file options.c.

Referenced by preload(), processBooleanOption(), and processParametricOption().

◆ StageDescription

const char* const StageDescription[]
static
Initial value:
= {
[OptionLoadingStageNone] = "not initialized",
[OptionLoadingStageCustom] = "custom file",
[OptionLoadingStageDosCnf] = "DOS .cnf file",
[OptionLoadingStageEtc] = "file under /etc (e.g. ctags.conf)",
[OptionLoadingStageLocalEtc] = "file under /usr/local/etc (e.g. ctags.conf)",
[OptionLoadingStageXdg] = "file(s) under $XDG_CONFIG_HOME and $HOME/.config",
[OptionLoadingStageHomeRecursive] = "file(s) under $HOME",
[OptionLoadingStageCurrentRecursive] = "file(s) under the current directory",
[OptionLoadingStagePreload] = "optlib preload files",
[OptionLoadingStageEnvVar] = "environment variable",
[OptionLoadingStageCmdline] = "command line",
}
@ OptionLoadingStageCmdline
Definition: options_p.h:84
@ OptionLoadingStageNone
Definition: options_p.h:74
@ OptionLoadingStageXdg
Definition: options_p.h:79
@ OptionLoadingStageDosCnf
Definition: options_p.h:76
@ OptionLoadingStageCurrentRecursive
Definition: options_p.h:81
@ OptionLoadingStagePreload
Definition: options_p.h:82
@ OptionLoadingStageHomeRecursive
Definition: options_p.h:80
@ OptionLoadingStageEnvVar
Definition: options_p.h:83
@ OptionLoadingStageLocalEtc
Definition: options_p.h:78
@ OptionLoadingStageCustom
Definition: options_p.h:75
@ OptionLoadingStageEtc
Definition: options_p.h:77

Definition at line 577 of file options.c.

Referenced by preload(), processBooleanOption(), and processParametricOption().