implementing getLocalPrefix method
diff --git a/include/sync-app-socket.h b/include/sync-app-socket.h
index 851a14c..a878c9d 100644
--- a/include/sync-app-socket.h
+++ b/include/sync-app-socket.h
@@ -89,6 +89,9 @@
SyncLogic &
getLogic () { return m_syncLogic; }
+
+ std::string
+ getLocalPrefix () { return m_ccnxHandle->getLocalPrefix (); }
private:
void
diff --git a/include/sync-ccnx-wrapper.h b/include/sync-ccnx-wrapper.h
index cc94a04..843ab54 100644
--- a/include/sync-ccnx-wrapper.h
+++ b/include/sync-ccnx-wrapper.h
@@ -141,6 +141,9 @@
int
publishRawData (const std::string &name, const char *buf, size_t len, int freshness);
+ std::string
+ getLocalPrefix ();
+
private:
void
connectCcnd();