Extending ccnx-name and fixing bug with toString
diff --git a/daemon/daemon.cc b/daemon/daemon.cc
index 5b953d3..ae41418 100644
--- a/daemon/daemon.cc
+++ b/daemon/daemon.cc
@@ -23,6 +23,7 @@
#include <iostream>
#include <Ice/Service.h>
#include <Ice/Identity.h>
+#include <ccnx-wrapper.h>
#include "notify-i.h"
#include <boost/make_shared.hpp>
@@ -30,6 +31,7 @@
using namespace std;
using namespace boost;
using namespace ChronoshareClient;
+using namespace Ccnx;
typedef boost::error_info<struct tag_errmsg, std::string> errmsg_info_str;
@@ -70,7 +72,8 @@
try
{
// DbHelper db ("./", "/ndn/ucla.edu/alex");
- ActionLogPtr actionLog = make_shared<ActionLog> ("./", "/ndn/ucla.edu/alex");
+ CcnxWrapperPtr ccnx = make_shared<CcnxWrapper> ();
+ ActionLogPtr actionLog = make_shared<ActionLog> (ccnx, "./", "/ndn/ucla.edu/alex", "shared");
MyService svc (actionLog);
status = svc.main (argc, argv);