add MessageMap::findAll changedSince argument to distinguish touched/changed for since/until range

This commit is contained in:
john
2018-12-02 12:22:37 +01:00
parent da56691e41
commit c467f2b245
6 changed files with 15 additions and 14 deletions
+2 -1
View File
@@ -1403,11 +1403,12 @@ class MessageMap : public MappedFileReader {
* address), or 0 to ignore.
* @param until the end time to which to add updates (exclusive, also removes messages with unset destination
* address), or 0 to ignore.
* @changedSince true to use the last change time for the since/until range, false to use the last seen time.
* @param messages the @a deque to which to add the found @a Message instances.
*/
void findAll(const string& circuit, const string& name, const string& levels,
bool completeMatch, bool withRead, bool withWrite, bool withPassive, bool includeEmptyLevel, bool onlyAvailable,
time_t since, time_t until, deque<Message*>* messages) const;
time_t since, time_t until, bool changedSince, deque<Message*>* messages) const;
/**
* Find the @a Message instance for the specified master data.