summaryrefslogtreecommitdiff
path: root/perl_dmod
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-04-06 18:58:22 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2011-04-06 18:58:22 -0700
commitfcdc4ad086945f8a947c2ede2f87bc8d549bcae0 (patch)
treec5741ab4bfd5b8e3ffd9e0524d241cdcc63f5419 /perl_dmod
parentff6dbf4361fe64ed00478e98f895d3bd15248869 (diff)
downloadvyatta-cfg-fcdc4ad086945f8a947c2ede2f87bc8d549bcae0.tar.gz
vyatta-cfg-fcdc4ad086945f8a947c2ede2f87bc8d549bcae0.zip
minor refactoring
Diffstat (limited to 'perl_dmod')
-rw-r--r--perl_dmod/Cstore/Cstore.xs6
-rw-r--r--perl_dmod/Cstore/typemap2
2 files changed, 4 insertions, 4 deletions
diff --git a/perl_dmod/Cstore/Cstore.xs b/perl_dmod/Cstore/Cstore.xs
index e5fd126..3c9a9ad 100644
--- a/perl_dmod/Cstore/Cstore.xs
+++ b/perl_dmod/Cstore/Cstore.xs
@@ -206,7 +206,7 @@ Cstore::cfgPathGetChildNodesStatus(CPATH *pref)
PREINIT:
Cpath arg_cpath;
CODE:
- Cstore::MapT<string, string> ret_strstrmap;
+ MapT<string, string> ret_strstrmap;
THIS->cfgPathGetChildNodesStatus(arg_cpath, ret_strstrmap);
OUTPUT:
RETVAL
@@ -264,7 +264,7 @@ Cstore::cfgPathGetChildNodesStatusDA(CPATH *pref)
PREINIT:
Cpath arg_cpath;
CODE:
- Cstore::MapT<string, string> ret_strstrmap;
+ MapT<string, string> ret_strstrmap;
THIS->cfgPathGetChildNodesStatusDA(arg_cpath, ret_strstrmap);
OUTPUT:
RETVAL
@@ -296,7 +296,7 @@ Cstore::getParsedTmpl(CPATH *pref, bool allow_val)
PREINIT:
Cpath arg_cpath;
CODE:
- Cstore::MapT<string, string> ret_strstrmap;
+ MapT<string, string> ret_strstrmap;
if (!THIS->getParsedTmpl(arg_cpath, ret_strstrmap, allow_val)) {
XSRETURN_UNDEF;
}
diff --git a/perl_dmod/Cstore/typemap b/perl_dmod/Cstore/typemap
index 7f70899..8d6d178 100644
--- a/perl_dmod/Cstore/typemap
+++ b/perl_dmod/Cstore/typemap
@@ -33,7 +33,7 @@ T_STRVEC_REF
T_STRSTRMAP_REF
HV *href = (HV *) sv_2mortal((SV *) newHV());
- Cstore::MapT<string, string>::iterator it = ret_strstrmap.begin();
+ MapT<string, string>::iterator it = ret_strstrmap.begin();
for (; it != ret_strstrmap.end(); ++it) {
const char *key = (*it).first.c_str();
const char *val = (*it).second.c_str();