summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-11 15:12:36 -0800
committeralex <alex@builder.localdomain>2007-12-11 15:12:36 -0800
commitfb9450551d5757a45806a062d7457a761e6dd295 (patch)
treecda8e28bdf2c1bc23d98de6de9437b1c90c5f654 /src/cli_val.h
parent1d78b0c336c8d3ae62f65983098584a6e2e613ce (diff)
downloadvyatta-cfg-fb9450551d5757a45806a062d7457a761e6dd295.tar.gz
vyatta-cfg-fb9450551d5757a45806a062d7457a761e6dd295.zip
Bug #2509
Multivalue nodes are diffed with previous value for validation before commit.
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index 7383263..edbda41 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -171,6 +171,7 @@ extern void dump_tree(vtw_node *node, int lev);
extern void dump_def(vtw_def *defp);
extern boolean val_cmp(valstruct *left, valstruct *right, vtw_cond_e cond);
extern void out_of_memory(void);
+extern void subtract_values(char **lhs, const char *rhs);
extern boolean validate_value(vtw_def *def,
char *value);
extern void internal_error(int line, char *file);