summaryrefslogtreecommitdiff
path: root/src/ingestor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ingestor.hpp')
-rw-r--r--src/ingestor.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ingestor.hpp b/src/ingestor.hpp
index a7a57a6..892cc9c 100644
--- a/src/ingestor.hpp
+++ b/src/ingestor.hpp
@@ -9,7 +9,7 @@
namespace WebStat {
class Ingestor {
public:
- Ingestor(DB::ConnectionPtr dbconn);
+ Ingestor(std::string_view hostname, DB::ConnectionPtr dbconn);
virtual ~Ingestor() = default;
SPECIAL_MEMBERS_DEFAULT_MOVE_NO_COPY(Ingestor);
@@ -33,6 +33,7 @@ namespace WebStat {
size_t linesDiscarded = 0;
private:
+ uint32_t hostnameId;
DB::ConnectionPtr dbconn;
};
}