]> granicus.if.org Git - icinga2/blob - lib/livestatus/historytable.hpp
add some object locking to the Dump method (which could theoreticylly suffer from...
[icinga2] / lib / livestatus / historytable.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef HISTORYTABLE_H
4 #define HISTORYTABLE_H
5
6 #include "livestatus/table.hpp"
7 #include "base/dictionary.hpp"
8
9 namespace icinga
10 {
11
12
13 /**
14  * @ingroup livestatus
15  */
16 class HistoryTable : public Table
17 {
18 public:
19         virtual void UpdateLogEntries(const Dictionary::Ptr& bag, int line_count, int lineno, const AddRowFunction& addRowFn) = 0;
20 };
21
22 }
23
24 #endif /* HISTORYTABLE_H */