From 491b4c361f3a612835e76604fbd751e6e6905c3d Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Sat, 30 Apr 2011 21:42:12 +0800 Subject: preliminary implementation of new commit (cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538) --- src/cli_cstore.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/cli_cstore.h') 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 } -- cgit v1.2.3