summaryrefslogtreecommitdiffstats
path: root/lib/extra_opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extra_opts.h')
-rw-r--r--lib/extra_opts.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/extra_opts.h b/lib/extra_opts.h
index 5f89d2b..25bfc6d 100644
--- a/lib/extra_opts.h
+++ b/lib/extra_opts.h
@@ -7,9 +7,13 @@
7 */ 7 */
8 8
9/* np_extra_opts: Process the --extra-opts arguments and create a new argument 9/* np_extra_opts: Process the --extra-opts arguments and create a new argument
10 * array load the default configuration (if present) for 10 * array with ini-processed and argument-passed arguments together. The
11 * a plugin from the ini file 11 * ini-procesed arguments always come first (in the ord of --extra-opts
12 * arguments). If no --extra-opts arguments are provided or returned nothing
13 * it returns **argv otherwise the new array is returned. --extra-opts are
14 * always removed from **argv and the new array and all its elements can be
15 * freed with free();
12 */ 16 */
13char **np_extra_opts(int argc, char **argv, const char *plugin_name, int *argc_new); 17char **np_extra_opts(int *argc, char **argv, const char *plugin_name);
14 18
15#endif /* _EXTRA_OPTS_H_ */ 19#endif /* _EXTRA_OPTS_H_ */