summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 02:00:48 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 02:00:48 +0100
commit8a8800c818d06fbf7c1dfd16129757a41731dfe5 (patch)
treeb76a59833b0584f6a47b4eb64e362abdf7b5a445 /include
parent73071f996142d7cffe61a1922089f8e8b2928e64 (diff)
downloadgmrf-8a8800c818d06fbf7c1dfd16129757a41731dfe5.tar
gmrf-8a8800c818d06fbf7c1dfd16129757a41731dfe5.zip
Merge MMSS node with GMRF context, implement packet handling
Diffstat (limited to 'include')
-rw-r--r--include/gmrf/gmrf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gmrf/gmrf.h b/include/gmrf/gmrf.h
index 05657fd..22bed35 100644
--- a/include/gmrf/gmrf.h
+++ b/include/gmrf/gmrf.h
@@ -58,4 +58,6 @@ size_t gmrf_iface_get_mtu(gmrf_context_t *ctx, gmrf_iface_t *iface);
bool gmrf_iface_send(gmrf_context_t *ctx, gmrf_iface_t *iface, const void *data, size_t len, const gmrf_addr_t *dest);
bool gmrf_iface_send_bc(gmrf_context_t *ctx, gmrf_iface_t *iface, const void *data, size_t len);
+typedef void (*gmrf_handle_packet_func)(gmrf_context_t *ctx, gmrf_iface_t *iface, const gmrf_addr_t *source, const void *data, size_t len);
+
#endif /* _GMRF_GMRF_H_ */