summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 10:43:40 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 10:43:40 -0700
commitc4cb38f2d2df328aabd9f926a925872f9996c5cb (patch)
tree7e3bb76c81ed0e15d6051010895277480e85579c /src/cli_val.h
parent83a14e262d5f0651d31140c9387ffdaa2299dc83 (diff)
downloadvyatta-cfg-c4cb38f2d2df328aabd9f926a925872f9996c5cb.tar.gz
vyatta-cfg-c4cb38f2d2df328aabd9f926a925872f9996c5cb.zip
* fix cli backend memory leak.
* export {copy,free}_path().
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index 7d57456..e147d4c 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -187,6 +187,9 @@ extern char *type_to_name(vtw_type_e type);
extern boolean execute_list(vtw_node *cur, vtw_def *def);
extern void touch_dir(const char *dp);
+extern void copy_path(vtw_path *to, vtw_path *from);
+extern void free_path(vtw_path *path);
+
void mark_paths(vtw_mark *markp);
void restore_paths(vtw_mark *markp);