summaryrefslogtreecommitdiff
path: root/src/common/defs.h
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-06-26 15:05:48 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-06-26 15:05:48 -0700
commitd034ac00df12e6c33e8fe0d42a057d1dad16967d (patch)
tree8767d601f68c42793c5694091cf772dc0bfcd8eb /src/common/defs.h
parentaa0909474d754d7a4295c02151ea92d3b31f22e9 (diff)
downloadvyatta-cfg-d034ac00df12e6c33e8fe0d42a057d1dad16967d.tar.gz
vyatta-cfg-d034ac00df12e6c33e8fe0d42a057d1dad16967d.zip
The SYNTAX and COMMIT tags will be executed before an actions (UPDATE,
CREATE, DELETE, END, BEGIN) within a priority tree. That means that all work (include the commit-check pass) will be performed on a priority tree before proceeding to the next priority tree. If a priority tree generates a failure in the commit-check pass processing will halt on the priority tree and no further processing will be performed on the priority tree. The failed priority tree will NOT be copied to the active working directory. All nodes in the priority tree will execute SYNTAX and COMMIT actions except for nodes that have been deleted. Note this iteration is performed on the working tree, so all commit-check nodes will either be directly modified or have a node down the hierarchy that had been modified. The working directory and active directory will not be modified until after all priority trees have been processed.
Diffstat (limited to 'src/common/defs.h')
-rw-r--r--src/common/defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/defs.h b/src/common/defs.h
index f2cf3a1..5d6b0a8 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -22,6 +22,7 @@ struct Result
char *_err_str;
int _action;
int _mode;
+ void* _data;
};
typedef enum {