summaryrefslogtreecommitdiffstats
path: root/include/mmss
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 17:13:15 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-18 17:13:15 +0100
commit7d4283f8f54e9836c59d6507d0cfb0464ffb9e74 (patch)
tree7d3df167b95fab4dfcfae9996ccb14c91f0502ac /include/mmss
parent77199be682daa1797a4518b3958d58c133dd88f2 (diff)
downloadgmrf-7d4283f8f54e9836c59d6507d0cfb0464ffb9e74.tar
gmrf-7d4283f8f54e9836c59d6507d0cfb0464ffb9e74.zip
Add protocol module API library
Diffstat (limited to 'include/mmss')
-rw-r--r--include/mmss/protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mmss/protocol.h b/include/mmss/protocol.h
index 502a923..7d131d2 100644
--- a/include/mmss/protocol.h
+++ b/include/mmss/protocol.h
@@ -31,8 +31,8 @@
typedef struct mmss_protocol {
- const char *name;
- const char *version;
+ const char* (*get_name)(void);
+ const char* (*get_version)(void);
gmrf_context_t* (*init)(gmrf_t *gmrf);
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);