summaryrefslogtreecommitdiff
path: root/src/cli_cstore.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-04-30 21:42:12 +0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-05-10 09:25:13 +0800
commit491b4c361f3a612835e76604fbd751e6e6905c3d (patch)
tree0fdb2e86fab5938bf171d23ef7cf23ccd555e531 /src/cli_cstore.h
parent4c5199a11c951361934c7c5d4bd91e7e2ae8679a (diff)
downloadvyatta-cfg-491b4c361f3a612835e76604fbd751e6e6905c3d.tar.gz
vyatta-cfg-491b4c361f3a612835e76604fbd751e6e6905c3d.zip
preliminary implementation of new commit
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
Diffstat (limited to 'src/cli_cstore.h')
-rw-r--r--src/cli_cstore.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cli_cstore.h b/src/cli_cstore.h
index 6f4ec51..c62f2e0 100644
--- a/src/cli_cstore.h
+++ b/src/cli_cstore.h
@@ -127,17 +127,22 @@ extern FILE *err_stream;
} while (0);
/* functions */
-const valstruct *get_syntax_self_in_valstruct(vtw_node *vnode);
+const valstruct *get_syntax_self_in_valstruct(const vtw_node *vnode);
int get_shell_command_output(const char *cmd, char *buf,
unsigned int buf_size);
int parse_def(vtw_def *defp, const char *path, boolean type_only);
boolean validate_value(const vtw_def *def, char *value);
+boolean execute_list(vtw_node *cur, const vtw_def *def, const char *outbuf,
+ boolean format);
const char *type_to_name(vtw_type_e type);
int initialize_output(const char *op);
void bye(const char *msg, ...) __attribute__((format(printf, 1, 2), noreturn));
/* functions from cli_objects */
char *get_at_string(void);
+void set_in_commit(boolean b);
+void set_at_string(char* s);
+void set_in_delete_action(boolean b);
#ifdef __cplusplus
}