summaryrefslogtreecommitdiff
path: root/perl_dmod
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-12-02 19:21:24 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-12-02 19:21:24 -0800
commit983fdb9f5ec3319b1b7695cc5dffe585f708e501 (patch)
tree83045d4af933c30efc28a076f015d63ee64ed2a3 /perl_dmod
parent11b0a437451fcd39c6ab9a45ccd5bd35eb5f3cac (diff)
downloadvyatta-cfg-983fdb9f5ec3319b1b7695cc5dffe585f708e501.tar.gz
vyatta-cfg-983fdb9f5ec3319b1b7695cc5dffe585f708e501.zip
change "load" to use new backend loadFile implementation.
* export loadFile through perl API. * "load" operation is now handled by the backend library.
Diffstat (limited to 'perl_dmod')
-rw-r--r--perl_dmod/Cstore/Cstore.xs8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl_dmod/Cstore/Cstore.xs b/perl_dmod/Cstore/Cstore.xs
index 383f204..255eac0 100644
--- a/perl_dmod/Cstore/Cstore.xs
+++ b/perl_dmod/Cstore/Cstore.xs
@@ -325,3 +325,11 @@ OUTPUT:
RETVAL
+bool
+Cstore::loadFile(char *filename)
+CODE:
+ RETVAL = THIS->loadFile(filename);
+OUTPUT:
+ RETVAL
+
+