diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-09 07:30:14 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-09 07:30:14 +0000 |
commit | eadf16a660310162bcc3cadda26f44acd3b83077 (patch) | |
tree | 7d384ed3923bb28c553d57bf9ca760f5aba51703 /plugin.h | |
parent | Added ENABLE_INLINE_FILES feature. (diff) | |
download | openvpn-eadf16a660310162bcc3cadda26f44acd3b83077.tar.xz |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |