X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/5d4d6bb059735067158e2a2ee1d500b6cb1af4dc..5e01d2924d4eec8915e93a2cae01217ae25ab4dc:/plugin.h diff --git a/plugin.h b/plugin.h index be92047..b751a1d 100644 --- a/plugin.h +++ b/plugin.h @@ -1,7 +1,7 @@ #ifndef __PLUGIN_H__ #define __PLUGIN_H__ -#define PLUGIN_API_VERSION 2 +#define PLUGIN_API_VERSION 3 #define MAX_PLUGIN_TYPES 30 enum @@ -79,17 +79,10 @@ struct param_timer struct param_control { - char *buf; - int l; - unsigned int source_ip; - unsigned short source_port; - char *response; - int response_length; - int send_response; - short type; - int id; - char *data; - int data_length; + int argc; + char **argv; + int response; + char *additional; }; struct param_new_session