summaryrefslogtreecommitdiff
path: root/src/common/defs.h
diff options
context:
space:
mode:
authorMichael Larson <mike@vyatta.com>2010-10-29 12:00:45 -0700
committerMichael Larson <mike@vyatta.com>2010-10-29 12:00:45 -0700
commitd5abfc00dcf2e606fbac6eca78eea06ead233a12 (patch)
treea1e26c1b147404d5ce400501d2a1502baa254abb /src/common/defs.h
parent9fd60d690fe5993cf6c5847aaf975910870bb8f8 (diff)
downloadvyatta-cfg-d5abfc00dcf2e606fbac6eca78eea06ead233a12.tar.gz
vyatta-cfg-d5abfc00dcf2e606fbac6eca78eea06ead233a12.zip
change first, last, firstlast behavior to apply environment setting on each action applied. will be used to help resolve problems identified w/ fw synchronization of rules.
Diffstat (limited to 'src/common/defs.h')
-rw-r--r--src/common/defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/defs.h b/src/common/defs.h
index dcced15..b931bd9 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -85,10 +85,20 @@ struct Data
NODE_ACTIVATE _disable_op; //is this node currently deactivated?
};
+/*
+ * additional data to be defined and used by client
+ */
+struct Aux
+{
+ boolean _first;
+ boolean _last;
+};
+
struct VyattaNode
{
struct Data _data;
struct Config _config;
+ struct Aux _aux;
};
#endif //__DEFS_H__