diff options
author | jbj <jbj> | 1999-10-25 18:22:19 +0000 |
---|---|---|
committer | jbj <jbj> | 1999-10-25 18:22:19 +0000 |
commit | 2afbbdf4e0a340113b11d50d187eeceecc68f5d3 (patch) | |
tree | 4067718645fe62f9ff99069a4882f56fea152947 /popt.h | |
parent | f1e880039cfa3654c8edae03961023d4f924248e (diff) | |
download | libpopt-2afbbdf4e0a340113b11d50d187eeceecc68f5d3.tar.gz |
Add !#:+ token parsing to retrieve (and delete) next argument from list.
Diffstat (limited to 'popt.h')
-rw-r--r-- | popt.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -109,8 +109,10 @@ int poptReadConfigFile(poptContext con, const char * fn); int poptReadDefaultConfig(poptContext con, int useEnv); /* argv should be freed -- this allows ', ", and \ quoting, but ' is treated the same as " and both may include \ quotes */ +int poptDupArgv(int argc, const char **argv, + /*@out@*/ int * argcPtr, /*@out@*/ const char *** argvPtr); int poptParseArgvString(const char * s, - /*@out@*/ int * argcPtr, /*@out@*/ char *** argvPtr); + /*@out@*/ int * argcPtr, /*@out@*/ const char *** argvPtr); /*@observer@*/ const char *const poptStrerror(const int error); void poptSetExecPath(poptContext con, const char * path, int allowAbsolute); void poptPrintHelp(poptContext con, FILE * f, int flags); |