diff options
Diffstat (limited to 'support/popt-gnome.h')
-rw-r--r-- | support/popt-gnome.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/support/popt-gnome.h b/support/popt-gnome.h index 5046fad..1f7aa90 100644 --- a/support/popt-gnome.h +++ b/support/popt-gnome.h @@ -1,5 +1,5 @@ /* (C) 1998 Red Hat Software, Inc. -- Licensing details are in the COPYING - file accompanying popt source distributions, available from + file accompanying popt source distributions, available from ftp://ftp.redhat.com/pub/code/popt */ #ifndef H_POPT @@ -19,8 +19,8 @@ extern "C" { #define POPT_ARG_LONG 3 #define POPT_ARG_INCLUDE_TABLE 4 /* arg points to table */ #define POPT_ARG_CALLBACK 5 /* table-wide callback... must be - set first in table; arg points - to callback, descrip points to + set first in table; arg points + to callback, descrip points to callback data to pass */ #define POPT_ARG_INTL_DOMAIN 6 /* set the translation domain for this table and any @@ -77,10 +77,10 @@ typedef struct poptContext_s * poptContext; typedef struct poptOption * poptOption; #endif -enum poptCallbackReason { POPT_CALLBACK_REASON_PRE, +enum poptCallbackReason { POPT_CALLBACK_REASON_PRE, POPT_CALLBACK_REASON_POST, POPT_CALLBACK_REASON_OPTION }; -typedef void (*poptCallbackType)(poptContext con, +typedef void (*poptCallbackType)(poptContext con, enum poptCallbackReason reason, const struct poptOption * opt, const char * arg, const void * data); @@ -104,7 +104,7 @@ void poptFreeContext( /*@only@*/ poptContext con); int poptStuffArgs(poptContext con, /*@keep@*/ const char ** argv); int poptAddAlias(poptContext con, struct poptAlias alias, int flags); int poptReadConfigFile(poptContext con, const char * fn); -/* like above, but reads /etc/popt and $HOME/.popt along with environment +/* like above, but reads /etc/popt and $HOME/.popt along with environment vars */ int poptReadDefaultConfig(poptContext con, int useEnv); /* argv should be freed -- this allows ', ", and \ quoting, but ' is treated |