summaryrefslogtreecommitdiffstats
path: root/mmss/mmss.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'mmss/mmss.hpp')
-rw-r--r--mmss/mmss.hpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/mmss/mmss.hpp b/mmss/mmss.hpp
index 2789b24..3931254 100644
--- a/mmss/mmss.hpp
+++ b/mmss/mmss.hpp
@@ -34,43 +34,6 @@
#include <memory>
-struct gmrf : public std::enable_shared_from_this<MMSS::node_t> {
-private:
- gmrf(gmrf const&) = delete;
- gmrf& operator=(gmrf const&) = delete;
-
-public:
- gmrf(MMSS::context_t *mmss0, const std::string &name0, unsigned rand_seed0, const std::shared_ptr<const MMSS::protocol_t> &proto0) :
- mmss(mmss0), name(name0), rand_seed(rand_seed0), proto(proto0) {}
-
- MMSS::context_t *mmss;
-
- std::string name;
-
- gmrf_context_t *ctx;
- std::list<std::shared_ptr<MMSS::iface_t>> interfaces;
-
- unsigned rand_seed;
-
- std::shared_ptr<const MMSS::protocol_t> proto;
-};
-
-struct gmrf_iface : public std::enable_shared_from_this<MMSS::iface_t> {
-private:
- gmrf_iface(gmrf_iface const&) = delete;
- gmrf_iface& operator=(gmrf_iface const&) = delete;
-
-public:
- gmrf_iface() = default;
-
- std::string name;
- gmrf_addr_t address;
-
- MMSS::node_t *node;
- MMSS::network_t *net;
-};
-
-
namespace MMSS {
class context_t : public now_t {