diff options
Diffstat (limited to 'mmss/iface.hpp')
-rw-r--r-- | mmss/iface.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mmss/iface.hpp b/mmss/iface.hpp index 2f464bd..3b8cc0b 100644 --- a/mmss/iface.hpp +++ b/mmss/iface.hpp @@ -42,6 +42,8 @@ private: std::string name; gmrf_addr_t address; + gmrf_iface_state *state; + void enqueue(context_t *mmss, const std::shared_ptr<iface_t> &dest, const void *data, size_t len); iface_t(node_t *node0, network_t *net0, const std::string &name0, const gmrf_addr_t *address0) @@ -64,6 +66,10 @@ public: return &address; } + gmrf_iface_state* get_state() const { + return state; + } + void send(const void *data, size_t len, const gmrf_addr_t *dest) { net->send(data, len, this, dest); } |