Be explicit that per-host pages are directories.
[darkstat.git] / acct.h
diff --git a/acct.h b/acct.h
index 336ac85..f8822a7 100644 (file)
--- a/acct.h
+++ b/acct.h
@@ -4,13 +4,13 @@
  * acct.h: traffic accounting
  */
 
-#include "decode.h"
+#include <stdint.h>
 
-extern uint64_t total_packets, total_bytes;
+struct pktsummary;
 
-void acct_init_localnet(const char *spec);
-void acct_for(const pktsummary *sm);
+extern uint64_t acct_total_packets, acct_total_bytes;
 
-extern unsigned int highest_port;
+void acct_init_localnet(const char *spec);
+void acct_for(const struct pktsummary * const sm);
 
 /* vim:set ts=3 sw=3 tw=78 expandtab: */