diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-06 12:45:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-06 12:45:08 +0000 |
commit | 9184d3db100aff82d081a70442842344da84cf4b (patch) | |
tree | a00b4a406480b3afcfcf447bc41aa4bbaeadb830 /argp/argp.h | |
parent | ac16e90592f0b9842e193e2ebe0b3756f0b4361d (diff) | |
download | glibc-9184d3db100aff82d081a70442842344da84cf4b.tar.gz glibc-9184d3db100aff82d081a70442842344da84cf4b.tar.xz glibc-9184d3db100aff82d081a70442842344da84cf4b.zip |
Update.
1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com> * argp/argp.h (struct argp): Add new field domain. * argp/argp-help.c: Change all gettext calls to dgettext and use domain field from appropriate argp in call. * argp/argp-parse.c: Likewise.
Diffstat (limited to 'argp/argp.h')
-rw-r--r-- | argp/argp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/argp/argp.h b/argp/argp.h index 55024cac12..b305807183 100644 --- a/argp/argp.h +++ b/argp/argp.h @@ -1,5 +1,5 @@ /* Hierarchial argument parsing, layered over getopt. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader <miles@gnu.ai.mit.edu>. @@ -238,6 +238,11 @@ struct argp that should be done by the filter function. INPUT is either the input supplied to argp_parse, or NULL, if argp_help was called directly. */ char *(*help_filter)(int __key, __const char *__text, void *__input); + + /* If non-zero the strings used in the argp library are translated using + the domain described by this string. Otherwise the currently installed + default domain is used. */ + const char *argp_domain; }; /* Possible KEY arguments to a help filter function. */ |