summaryrefslogtreecommitdiff
path: root/src/monitor.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.hh')
-rw-r--r--src/monitor.hh12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/monitor.hh b/src/monitor.hh
index 6c2a557..7c6cc40 100644
--- a/src/monitor.hh
+++ b/src/monitor.hh
@@ -7,6 +7,8 @@
#include <memory>
#include <string>
+#include "package.hh"
+
class Looper;
class Resolver;
@@ -23,16 +25,6 @@ public:
ATTACHED,
};
- struct Package {
- uint32_t id;
- struct timespec timestamp;
- uint16_t flags;
- std::string source_host;
- uint16_t source_port;
- std::string target_host;
- uint16_t target_port;
- };
-
class Delegate {
public:
virtual ~Delegate() {}