summaryrefslogtreecommitdiff
path: root/src/cstore/unionfs/cstore-unionfs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cstore/unionfs/cstore-unionfs.hpp')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.hpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp
index 357e307..dd44d9a 100644
--- a/src/cstore/unionfs/cstore-unionfs.hpp
+++ b/src/cstore/unionfs/cstore-unionfs.hpp
@@ -26,13 +26,9 @@
#include <boost/filesystem.hpp>
+#include <cli_cstore.h>
#include <cstore/cstore.hpp>
-extern "C" {
-#include <cli_val.h>
-#include <cli_val_engine.h>
-}
-
namespace b_fs = boost::filesystem;
class UnionfsCstore : public Cstore {
@@ -71,6 +67,9 @@ private:
static const string C_MARKER_UNSAVED;
static const string C_COMMITTED_MARKER_FILE;
static const string C_COMMENT_FILE;
+ static const string C_TAG_NAME;
+ static const string C_VAL_NAME;
+ static const string C_DEF_NAME;
static const size_t MAX_FILE_READ_SIZE = 8192;
@@ -93,7 +92,7 @@ private:
push_path(tmpl_path, new_comp);
};
void push_tmpl_path_tag() {
- push_tmpl_path(TAG_NAME);
+ push_tmpl_path(C_TAG_NAME);
};
string pop_tmpl_path() {
return pop_path(tmpl_path);
@@ -102,7 +101,7 @@ private:
push_path(mutable_cfg_path, new_comp);
};
void push_cfg_path_val() {
- push_cfg_path(VAL_NAME);
+ push_cfg_path(C_VAL_NAME);
};
string pop_cfg_path() {
return pop_path(mutable_cfg_path);