summaryrefslogtreecommitdiff
path: root/popt.h
diff options
context:
space:
mode:
authorjbj <jbj>1999-10-25 18:22:19 +0000
committerjbj <jbj>1999-10-25 18:22:19 +0000
commit2afbbdf4e0a340113b11d50d187eeceecc68f5d3 (patch)
tree4067718645fe62f9ff99069a4882f56fea152947 /popt.h
parentf1e880039cfa3654c8edae03961023d4f924248e (diff)
downloadlibpopt-2afbbdf4e0a340113b11d50d187eeceecc68f5d3.tar.gz
Add !#:+ token parsing to retrieve (and delete) next argument from list.
Diffstat (limited to 'popt.h')
-rw-r--r--popt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/popt.h b/popt.h
index 459dea7..b1e58fa 100644
--- a/popt.h
+++ b/popt.h
@@ -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);