summaryrefslogtreecommitdiffstats
path: root/plugin.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-09 07:30:14 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-09 07:30:14 +0000
commiteadf16a660310162bcc3cadda26f44acd3b83077 (patch)
tree7d384ed3923bb28c553d57bf9ca760f5aba51703 /plugin.h
parentd40f2b204b78ace5c2c9c3007887571ca5a2ec11 (diff)
downloadopenvpn-eadf16a660310162bcc3cadda26f44acd3b83077.tar.gz
openvpn-eadf16a660310162bcc3cadda26f44acd3b83077.tar.xz
openvpn-eadf16a660310162bcc3cadda26f44acd3b83077.zip
Removed annoying 'i' variable from add_option.
Allow plugin and push directives to have multiple parameters specified instead of only 1 quoted parameter. Allow plugin and push directives to have multi-line parameter lists, such as: <plugin> my-plugin.so parm1 parm2 </plugin> git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@785 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.h b/plugin.h
index 5c604f1..49ec20c 100644
--- a/plugin.h
+++ b/plugin.h
@@ -39,7 +39,7 @@
struct plugin_option {
const char *so_pathname;
- const char *args;
+ const char **argv;
};
struct plugin_option_list {
@@ -98,7 +98,7 @@ struct plugin_return
};
struct plugin_option_list *plugin_option_list_new (struct gc_arena *gc);
-bool plugin_option_list_add (struct plugin_option_list *list, const char *so_pathname, const char *args);
+bool plugin_option_list_add (struct plugin_option_list *list, char **p, struct gc_arena *gc);
#ifdef ENABLE_DEBUG
void plugin_option_list_print (const struct plugin_option_list *list, int msglevel);