aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp.h
Commit message (Collapse)AuthorAgeFilesLines
* (ARGP_KEY_ARGS, ARGP_KEY_FINI):Miles Bader1997-06-181-2/+9
| | | | New macros.
* Sync with libc version (there were minor whitespace differences, etc).Miles Bader1997-06-051-6/+6
|
* (struct argp_state):Miles Bader1997-05-261-1/+1
| | | | `argp' field renamed to `root_argp'.
* (ARGP_KEY_HELP_ARGS_DOC): New macro.Miles Bader1997-05-201-0/+1
|
* [!__error_t_defined] (__error_t_defined): Define.Miles Bader1997-05-091-1/+2
|
* (argp_err_exit_status):Miles Bader1997-03-061-0/+5
| | | | New variable.
* (OPTION_NO_USAGE):Miles Bader1997-02-211-0/+9
| | | | New macro.
* (argp_program_bug_address):Miles Bader1997-02-201-15/+20
| | | | | | | | | 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.
* Merge changes from libc 1997-02-17.Miles Bader1997-02-201-13/+23
|
* Doc fixes.Miles Bader1997-02-181-11/+20
|
* (struct argp):Miles Bader1997-02-161-0/+26
| | | | | | Add help_filter field. (struct argp_state): Add pstate field.
* Update to libc-970212 versions.Miles Bader1997-02-131-33/+40
|
* (ARGP_KEY_END, ARGP_KEY_NO_ARGS, ARGP_KEY_INIT, ARGP_KEY_SUCCESS,Miles Bader1997-02-121-5/+5
| | | | ARGP_KEY_ERROR): Change values.
* Doc fix.Miles Bader1997-02-121-2/+5
|
* (__argp_parse, __argp_help, __argp_state_help, __argp_error, __argp_usage,Miles Bader1997-02-121-44/+101
| | | | | | | | | | | | | | | | | | | | __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.
* (OPTION_DOC):Miles Bader1997-02-091-7/+26
| | | | | | New macro. (ARGP_LONG_ONLY, ARGP_HELP_LONG_ONLY): New macros.
* (struct argp):Miles Bader1996-10-241-6/+33
| | | | | | Change type of CHILDREN field to `struct argp_child *'. (struct argp_child): New type.
* Mon Oct 21 22:00:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-241-3/+8
| | | | | | | | | * 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.
* (ARGP_HELP_PRE_DOC, ARGP_HELP_POST_DOC, ARGP_HELP_DOC, ARGP_HELP_BUG_ADDR):Miles Bader1996-09-021-6/+20
| | | | | | | 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.
* (argp_program_version_hook): Add argument types.Miles Bader1996-07-061-5/+7
|
* (struct argp_state): Add NAME, ERR_STREAM, & OUT_STREAM fields.Miles Bader1996-06-171-4/+25
| | | | | | (argp_failure): New declaration. (ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with decimal value!). (argp_help): Add NAME argument.
* ARGP_ERR_UNKNOWN_KEY --> ARGP_ERR_UNKNOWN.Miles Bader1996-05-111-11/+15
|
* (ARGP_ERR_UNKNOWN_KEY): New define.Miles Bader1996-05-111-24/+26
|
* (argp_program_version, argp_program_version_hook): New decls.Miles Bader1996-05-021-0/+12
|
* (argp_parse): Change HOOK argument to INPUT.Miles Bader1996-04-031-16/+13
| | | | | (struct argp_state): Rename HOOK & CHILD_HOOKS to INPUT & CHILD_INPUTS; add HOOK field again.
* (struct argp_state):Miles Bader1996-03-191-31/+64
| | | | | | | | | 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.
* (struct argp_state): Add `quoted' field.Miles Bader1996-02-141-0/+5
|
* (struct argp_state): Add ARG_NUM field.Miles Bader1996-02-051-0/+6
|
* (struct argp, struct argp_state, argp_parse, argp_help, argp_usage,Miles Bader1996-02-051-16/+17
| | | | argp_error, _option_is_short, _option_is_end): Add `const' where appropriate.
* (struct argp_option): Add the GROUP field. Twiddle doc.Miles Bader1995-12-211-3/+14
| | | | (_option_is_end): Be more pessimistic about what constitutes `the end'.
* (struct argp_state): Rename the INDEX field to be NEXT.Miles Bader1995-12-061-3/+3
|
* (argp_usage, argp_error): New declarations.Miles Bader1995-10-201-0/+13
| | | | (argp_usage): New inline function.
* (ARGP_HELP_STD_ERR): Doesn't print a usage message.Miles Bader1995-10-131-2/+7
| | | | (ARGP_HELP_STD_USAGE): ... whereas this does.
* (ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c.Miles Bader1995-10-111-12/+18
| | | | (ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE.
* Doc fixes.Miles Bader1995-10-111-9/+13
|
* (struct argp_state): Get rid of the PROCESSED_ARG field.Miles Bader1995-10-111-8/+5
|
* (struct argp_state): Add PROCESSED_ARG field.Miles Bader1995-10-101-2/+23
| | | | (ARGP_KEY_NO_ARGS): New macro.
* Initial revisionMiles Bader1995-10-101-0/+216