state-server: Initial implementation of /info/ RPC calls
Nothing is published yet, but data is successfully passed to the state server
+ usages of scheduler replaced with executor
Change-Id: I9da9182edc4efe8e896e2452ef4f9f0d98a03da1
diff --git a/src/action-log.h b/src/action-log.h
index fe96f10..cfcaf7a 100644
--- a/src/action-log.h
+++ b/src/action-log.h
@@ -102,6 +102,13 @@
FileItemPtr
LookupAction (const std::string &filename, sqlite3_int64 version, const Hash &filehash);
+ /**
+ * @brief Lookup up to [limit] actions starting [offset] in decreasing order (by timestamp) and calling visitor(device_name,seqno,action) for each action
+ */
+ void
+ LookupActionsInFolderRecursively (const boost::function<void (const Ccnx::Name &name, sqlite3_int64 seq_no, const ActionItem &)> &visitor,
+ const std::string &folder, int offset=0, int limit=-1);
+
//
inline FileStatePtr
GetFileState ();