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-04-30 21:42:12 +0800
commit1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538 (patch)
treed6a43f4d834ee341645bd0005479a7908ee95c6c /src/cli_cstore.h
parent20935c34d6fad4af9ab27e4a1b934e7e9e375358 (diff)
downloadvyatta-cfg-1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538.tar.gz
vyatta-cfg-1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538.zip
preliminary implementation of new commit
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
}