summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp.h
AgeCommit message (Collapse)Author
1997-02-20(argp_program_bug_address):Miles Bader
Make const. (argp_state_help, __argp_state_help, argp_usage, __argp_usage, argp_error, __argp_error, argp_failure, __argp_failure): Make STATE parameter const. (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
1997-02-20Merge changes from libc 1997-02-17.Miles Bader
1997-02-18Doc fixes.Miles Bader
1997-02-16(struct argp):Miles Bader
Add help_filter field. (struct argp_state): Add pstate field.
1997-02-13Update to libc-970212 versions.Miles Bader
1997-02-12(ARGP_KEY_END, ARGP_KEY_NO_ARGS, ARGP_KEY_INIT, ARGP_KEY_SUCCESS,Miles Bader
ARGP_KEY_ERROR): Change values.
1997-02-12Doc fix.Miles Bader
1997-02-12(__argp_parse, __argp_help, __argp_state_help, __argp_error, __argp_usage,Miles Bader
__argp_failure, __option_is_short, __option_is_end): New declarations. (argp_usage, _option_is_end, _option_is_short): Inline definitions replaced by __-prefixed versions, and protected by __OPTIMIZE__. [__OPTIMIZE__ && !_LIBC] (__argp_usage, __argp_state_help, __option_is_short, __option_is_end): Add redefs (& later undefs) of __ versions of inline definitions so they define the correct name for the environment (libc vs. non-libc), (struct argp_option, struct argp, struct argp_child, struct argp_state): Use __const instead of const. (argp_parse, argp_help, argp_state_help, argp_error, argp_usage, argp_failure, _option_is_short, _option_is_end): Use __P macro for function declarations. [HAVE_CONFIG_H] <config.h>: New include. [__GNU_LIBRARY__] <sys/cdefs.h>: New include. [!__const] (__const): New macro.
1997-02-09(OPTION_DOC):Miles Bader
New macro. (ARGP_LONG_ONLY, ARGP_HELP_LONG_ONLY): New macros.
1996-10-24(struct argp):Miles Bader
Change type of CHILDREN field to `struct argp_child *'. (struct argp_child): New type.
1996-10-24Mon Oct 21 22:00:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* argp.h: Add extern inline protection. * idvec.h: Likewise. * maptime.h: Likewise. * argp.c, idvec-funcs.c, maptime-funcs.c: New files. * Makefile (SRCS): Add argp.c, idvec-funcs.c, and maptime-funcs.c.
1996-09-02(ARGP_HELP_PRE_DOC, ARGP_HELP_POST_DOC, ARGP_HELP_DOC, ARGP_HELP_BUG_ADDR):Miles Bader
New macros. (ARGP_HELP_STD_HELP): Include ARGP_HELP_DOC & ARGP_HELP_BUG_ADDR. (argp_program_bug_address): New declaration. (ARGP_HELP_EXIT_ERR, ARGP_HELP_EXIT_OK): Values changed.
1996-07-06(argp_program_version_hook): Add argument types.Miles Bader
1996-06-17(struct argp_state): Add NAME, ERR_STREAM, & OUT_STREAM fields.Miles Bader
(argp_failure): New declaration. (ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with decimal value!). (argp_help): Add NAME argument.
1996-05-11ARGP_ERR_UNKNOWN_KEY --> ARGP_ERR_UNKNOWN.Miles Bader
1996-05-11(ARGP_ERR_UNKNOWN_KEY): New define.Miles Bader
1996-05-02(argp_program_version, argp_program_version_hook): New decls.Miles Bader
1996-04-03(argp_parse): Change HOOK argument to INPUT.Miles Bader
(struct argp_state): Rename HOOK & CHILD_HOOKS to INPUT & CHILD_INPUTS; add HOOK field again.
1996-03-19(struct argp_state):Miles Bader
Add HOOK and CHILD_HOOKS fields. Rename the PARENTS field to be CHILDREN (the most common use is initialization, so this change shouldn't have much effect). (ARGP_KEY_BEGIN, ARGP_KEY_ERROR): New macros. (argp_state_help): New function. (argp_usage, argp_error): Change arguments.
1996-02-14(struct argp_state): Add `quoted' field.Miles Bader
1996-02-05(struct argp_state): Add ARG_NUM field.Miles Bader
1996-02-05(struct argp, struct argp_state, argp_parse, argp_help, argp_usage,Miles Bader
argp_error, _option_is_short, _option_is_end): Add `const' where appropriate.
1995-12-21(struct argp_option): Add the GROUP field. Twiddle doc.Miles Bader
(_option_is_end): Be more pessimistic about what constitutes `the end'.
1995-12-06(struct argp_state): Rename the INDEX field to be NEXT.Miles Bader
1995-10-20(argp_usage, argp_error): New declarations.Miles Bader
(argp_usage): New inline function.
1995-10-13(ARGP_HELP_STD_ERR): Doesn't print a usage message.Miles Bader
(ARGP_HELP_STD_USAGE): ... whereas this does.
1995-10-11(ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c.Miles Bader
(ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE.
1995-10-11Doc fixes.Miles Bader
1995-10-11(struct argp_state): Get rid of the PROCESSED_ARG field.Miles Bader
1995-10-10(struct argp_state): Add PROCESSED_ARG field.Miles Bader
(ARGP_KEY_NO_ARGS): New macro.
1995-10-10Initial revisionMiles Bader