summaryrefslogtreecommitdiffstats
path: root/include/mmss/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mmss/protocol.h')
-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);