summaryrefslogtreecommitdiff
path: root/src/common
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:08:02 -0700
commitaa697721489c867de9b39121836c05a5bc3239b6 (patch)
tree758704cb3d0d3e57216104d1436849535902d58e /src/common
parentbbf867acfcaa999dec75b3a76ca6d286db4b57f8 (diff)
downloadvyatta-cfg-aa697721489c867de9b39121836c05a5bc3239b6.tar.gz
vyatta-cfg-aa697721489c867de9b39121836c05a5bc3239b6.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')
-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 4c04284..daca88a 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -24,6 +24,7 @@ struct Result
char *_err_str;
int _action;
int _mode;
+ void* _data;
};
typedef enum {