Storage: Add CreateEntry function for Dispatcher use.

This commit is contained in:
Peter Johnson
2015-07-28 22:06:42 -07:00
parent a0d30ffef1
commit 5823e3c780
2 changed files with 14 additions and 0 deletions

View File

@@ -109,6 +109,9 @@ class Storage {
std::shared_ptr<StorageEntry> FindEntry(StringRef name) const;
// Accessors required by Dispatcher.
std::shared_ptr<StorageEntry> CreateEntry(StringRef name,
std::shared_ptr<Value> value,
unsigned int flags);
void GetUpdates(UpdateMap* updates, bool* delete_all);
std::mutex& mutex() { return m_mutex; }