diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-01-05 16:44:31 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-01-05 16:44:31 -0800 |
commit | 2208bfef1004295d3227492c6a3e9d7b36903db5 (patch) | |
tree | 87f7596ebe3eef9afb2bd8743c7de1f6b434c6eb /perl_dmod | |
parent | 9518ae3e0cee2e6547a8658e1eb3a39fdb507081 (diff) | |
download | vyatta-cfg-2208bfef1004295d3227492c6a3e9d7b36903db5.tar.gz vyatta-cfg-2208bfef1004295d3227492c6a3e9d7b36903db5.zip |
fix for bug 6641
* change shell API to only use "edit level" when needed.
* add factory functions for cstore creation to simplify code.
Diffstat (limited to 'perl_dmod')
-rw-r--r-- | perl_dmod/Cstore/Cstore.xs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl_dmod/Cstore/Cstore.xs b/perl_dmod/Cstore/Cstore.xs index 8633a76..988f575 100644 --- a/perl_dmod/Cstore/Cstore.xs +++ b/perl_dmod/Cstore/Cstore.xs @@ -26,8 +26,7 @@ #include <vector> #include <string> -/* currently use the UnionfsCstore implementation */ -#include <cstore/unionfs/cstore-unionfs.hpp> +#include <cstore/cstore.hpp> typedef SV STRVEC; typedef SV STRSTRMAP; @@ -38,7 +37,7 @@ MODULE = Cstore PACKAGE = Cstore Cstore * Cstore::new() CODE: - RETVAL = new UnionfsCstore(); + RETVAL = Cstore::createCstore(false); OUTPUT: RETVAL |