projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Revise CCP, send ConfigReq once only.
[l2tpns.git]
/
plugin.h
diff --git
a/plugin.h
b/plugin.h
index
89ef8e0
..
e2bd047
100644
(file)
--- a/
plugin.h
+++ b/
plugin.h
@@
-21,7
+21,8
@@
enum
#define PLUGIN_RET_ERROR 0
#define PLUGIN_RET_OK 1
#define PLUGIN_RET_ERROR 0
#define PLUGIN_RET_OK 1
-#define PLUGIN_RET_STOP 2
+#define PLUGIN_RET_STOP 2
+#define PLUGIN_RET_NOTMASTER 3
struct pluginfuncs
{
struct pluginfuncs
{
@@
-81,8
+82,10
@@
struct param_timer
struct param_control
{
struct param_control
{
+ int iam_master;
int argc;
char **argv;
int argc;
char **argv;
+ // output
int response;
char *additional;
};
int response;
char *additional;
};