summaryrefslogtreecommitdiffstats
path: root/mmss/iface.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-27 22:28:34 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-27 22:28:34 +0200
commit0b696dafb3c8a6efebeaceab64fbdebdb399f7b4 (patch)
tree77b572850e3628d8a36de62e7b327542dfc70cb0 /mmss/iface.cpp
parent37566202133915d76179e0fd0c7fad654fc4dda0 (diff)
downloadgmrf-0b696dafb3c8a6efebeaceab64fbdebdb399f7b4.tar
gmrf-0b696dafb3c8a6efebeaceab64fbdebdb399f7b4.zip
Get rid of mmss.hpp
Diffstat (limited to 'mmss/iface.cpp')
-rw-r--r--mmss/iface.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/mmss/iface.cpp b/mmss/iface.cpp
index 7de4789..85079b6 100644
--- a/mmss/iface.cpp
+++ b/mmss/iface.cpp
@@ -25,8 +25,9 @@
#include "iface.hpp"
+#include "context.hpp"
+#include "network.hpp"
#include "node.hpp"
-#include "mmss.hpp"
#include <cstring>
@@ -53,7 +54,7 @@ void enqueue(context_t *mmss, const std::shared_ptr<iface_t> &source, const std:
packet->data.reset(new uint8_t[len]);
std::memcpy(packet->data.get(), data, len);
- mmss->event_queue.put(std::move(packet), mmss->now()+1);
+ mmss->queue_event(std::move(packet), mmss->now()+1);
}
}