Add protocol module API library

This commit is contained in:
Matthias Schiffer 2013-03-18 17:13:15 +01:00
parent 77199be682
commit 7d4283f8f5
7 changed files with 71 additions and 7 deletions

View file

@ -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);