summaryrefslogtreecommitdiff
path: root/src/cstore/cstore.hpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-07-28 19:08:43 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-07-28 19:08:43 -0700
commita56723cbb6424e1d49289efceeb9c251eed324bb (patch)
tree79f97da29cc8e1aa972ec978703622a61a34ae5b /src/cstore/cstore.hpp
parentde31f1befb8a92cecadd0c716f7313bd578511f9 (diff)
downloadvyatta-cfg-a56723cbb6424e1d49289efceeb9c251eed324bb.tar.gz
vyatta-cfg-a56723cbb6424e1d49289efceeb9c251eed324bb.zip
add cstore-specific header file
Diffstat (limited to 'src/cstore/cstore.hpp')
-rw-r--r--src/cstore/cstore.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp
index f6a4215..1d4ffe2 100644
--- a/src/cstore/cstore.hpp
+++ b/src/cstore/cstore.hpp
@@ -20,10 +20,7 @@
#include <string>
#include <map>
-extern "C" {
-#include <cli_val.h>
-#include <cli_val_engine.h>
-}
+#include <cli_cstore.h>
#define exit_internal(fmt, args...) do \
{ \
@@ -65,6 +62,7 @@ public:
static const string C_ENV_SHAPI_HELP_STRS;
static const string C_ENUM_SCRIPT_DIR;
+ static const string C_LOGFILE_STDOUT;
static const size_t MAX_CMD_OUTPUT_SIZE = 4096;
@@ -245,7 +243,7 @@ public:
* the limitations of the original CLI library implementation and MUST NOT
* be used by anyone other than the original CLI library.
*/
- bool getVarRef(const string& ref_str, clind_val& cval, bool from_active);
+ char *getVarRef(const string& ref_str, vtw_type_e& type, bool from_active);
bool setVarRef(const string& ref_str, const string& value, bool to_active);
protected: