1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * Prototypes for autoopts
4 * Generated Sun May 6 16:21:08 PDT 2012
6 #ifndef AUTOOPTS_PROTO_H_GUARD
7 #define AUTOOPTS_PROTO_H_GUARD 1
11 # define REDEF_LOCAL 1
16 * Extracted from autoopts.c
22 ao_realloc(void *p
, size_t sz
);
25 ao_strdup(char const *str
);
28 handle_opt(tOptions
* pOpts
, tOptState
* pOptState
);
31 immediate_opts(tOptions
* pOpts
);
34 regular_opts(tOptions
* pOpts
);
37 * Extracted from check.c
40 is_consistent(tOptions
* pOpts
);
43 * Extracted from configfile.c
46 intern_file_load(tOptions
* pOpts
);
49 parse_attrs(tOptions
* pOpts
, char * pzText
, tOptionLoadMode
* pMode
,
50 tOptionValue
* pType
);
53 validate_struct(tOptions
* pOpts
, char const * pzProgram
);
56 * Extracted from env.c
59 doPrognameEnv(tOptions
* pOpts
, teEnvPresetType type
);
62 env_presets(tOptions
* pOpts
, teEnvPresetType type
);
65 * Extracted from find.c
68 opt_find_long(tOptions
* pOpts
, char const * opt_name
, tOptState
* pOptState
);
71 opt_find_short(tOptions
* pOpts
, uint_t optValue
, tOptState
* pOptState
);
74 get_opt_arg(tOptions
* pOpts
, tOptState
* pOptState
);
77 find_opt(tOptions
* pOpts
, tOptState
* pOptState
);
80 * Extracted from load.c
83 mungeString(char* pzTxt
, tOptionLoadMode mode
);
91 tOptionLoadMode load_mode
);
94 * Extracted from nested.c
97 unload_arg_list(tArgList
* pAL
);
100 optionLoadNested(char const* pzTxt
, char const* pzName
, size_t nameLen
);
103 get_special_char(char const ** ppz
, int * ct
);
106 emit_special_char(FILE * fp
, int ch
);
109 * Extracted from sort.c
112 optionSort(tOptions
* pOpts
);
115 * Extracted from stack.c
118 addArgListEntry(void** ppAL
, void* entry
);
121 * Extracted from usage.c
124 set_usage_flags(tOptions
* opts
, char const * flg_txt
);
130 #endif /* AUTOOPTS_PROTO_H_GUARD */