cs: Update interface
Change-Id: I9b637c21ae15e784317568affdc530c21ec32e9a
diff --git a/daemon/table/cs.hpp b/daemon/table/cs.hpp
index c1c3e37..c13e72c 100644
--- a/daemon/table/cs.hpp
+++ b/daemon/table/cs.hpp
@@ -30,12 +30,12 @@
* \return{ whether the Data is added }
*/
bool
- insert(shared_ptr<Data> data);
+ insert(const Data &data);
/** \brief finds the best match Data for an Interest
- * \return{ the best match, if any; otherwise null }
+ * \return{ the best match, if any; otherwise 0 }
*/
- shared_ptr<Data>
+ const Data*
find(const Interest& interest);
};