mv ccnx files to Ccnx namespace and refector a little bit
diff --git a/src/ccnx-tunnel.cpp b/src/ccnx-tunnel.cpp
index 2ac604a..670a76a 100644
--- a/src/ccnx-tunnel.cpp
+++ b/src/ccnx-tunnel.cpp
@@ -26,12 +26,18 @@
}
int
+sendInterest(const string &interest, void *dataPass)
+{
+ string tunneledInterest = queryRoutableName(interest);
+}
+
+int
CccnxTunnel::publishRawData(const string &name, const char *buf, size_t len, int freshness)
{
ContentObjectPtr co = createContentObject(name, buf, len, freshness);
storeContentObject(name, co);
- string tunneledName = queryRoutableName(name);
+ string tunneledName = m_localPrefix + name;
ContentObjectPtr tunneledCo = createContentObject(tunneledName, co->m_data, co->m_len, freshness);
return putToCcnd(tunneledCo);