summaryrefslogtreecommitdiffstats
path: root/include/mmss
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 19:30:37 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 19:30:37 +0100
commit976cea11de8bc45fcff1a5c1e007b406e2469db7 (patch)
tree20efeb6b8ce0e03675e3a12ea20f7b1919729f8c /include/mmss
parent33d1cf04a7e8d5b4cb7ed45af75eed06a27d1292 (diff)
downloadgmrf-976cea11de8bc45fcff1a5c1e007b406e2469db7.tar
gmrf-976cea11de8bc45fcff1a5c1e007b406e2469db7.zip
Inform protocol about interfaces
Diffstat (limited to 'include/mmss')
-rw-r--r--include/mmss/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmss/protocol.h b/include/mmss/protocol.h
index 7d131d2..3ddd094 100644
--- a/include/mmss/protocol.h
+++ b/include/mmss/protocol.h
@@ -35,6 +35,7 @@ typedef struct mmss_protocol {
const char* (*get_version)(void);
gmrf_context_t* (*init)(gmrf_t *gmrf);
+ void (*add_iface)(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface);
void (*handle_packet)(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface, const gmrf_addr_t *source, const void *data, size_t len);
} mmss_protocol_t;