From 7d4283f8f54e9836c59d6507d0cfb0464ffb9e74 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 18 Mar 2013 17:13:15 +0100 Subject: Add protocol module API library --- include/mmss/protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mmss') 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); -- cgit v1.2.3