summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-06-24 11:43:11 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-06-24 11:43:11 -0700
commit112fa6e5a10455ebc13900568367079b9e09120a (patch)
treebeb35abfdcae0e9d0b635200e90c05ab7e32dc96 /src/common
parentf1d978883ab8b54bd48beec143d0c19c46566b4c (diff)
downloadvyatta-cfg-112fa6e5a10455ebc13900568367079b9e09120a.tar.gz
vyatta-cfg-112fa6e5a10455ebc13900568367079b9e09120a.zip
Commit check now behaves like IslaVista.
Note that commit check only applies in the following cases: 1) On nodes or ancestors of nodes that have been set or modified 2) Does not applied to deleted nodes Feature developers should: 1) locate commit checks at a common ancestor if checking across a hierarchy 2) expect that the commit check only enforces created behavior (therefore behaves more like a create check). An additional flag is provided "-f" to allow for full syntax and commit checks. This allows a complete single pass on all syntax and commit errors. The default behavior is to stop processing on the first error.
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 5e110bc..f2cf3a1 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -21,6 +21,7 @@ struct Result
int _err_code;
char *_err_str;
int _action;
+ int _mode;
};
typedef enum {