]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store.h
Move store unloading message forward
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store.h
index ba738bc067d3000dcfa2cb2ebc77bf052c4ae714..a32b155eb69448229685b4d79085aba5a6b34f24 100644 (file)
@@ -35,7 +35,7 @@
 #include <vector>
 #include <map>
 
-#include "store.h"
+#include "stg/store.h"
 
 // Minimal DB version is 5
 // Recommended DB version is 6 (support FreeMb logging on disconnects)
@@ -72,7 +72,7 @@ public:
                             double cash,
                             double freeMb,
                             const std::string & reason) const;
-    int WriteDetailedStat(const std::map<IP_DIR_PAIR, STAT_NODE> & statTree,
+    int WriteDetailedStat(const TRAFF_STAT & statTree,
                           time_t lastStat,
                           const std::string & login) const;