summaryrefslogtreecommitdiff
path: root/src/common/defs.h
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:51:45 -0700
commitbbf867acfcaa999dec75b3a76ca6d286db4b57f8 (patch)
treed807063e8cb7e077e161245794c7044bdd0e7991 /src/common/defs.h
parentf625070dec4cb848d2348aeaa66c03713a4a89ee (diff)
downloadvyatta-cfg-bbf867acfcaa999dec75b3a76ca6d286db4b57f8.tar.gz
vyatta-cfg-bbf867acfcaa999dec75b3a76ca6d286db4b57f8.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/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 f8171e4..4c04284 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -23,6 +23,7 @@ struct Result
int _err_code;
char *_err_str;
int _action;
+ int _mode;
};
typedef enum {