Rename context data structures, define more of the module API
This commit is contained in:
parent
cdf537c71c
commit
77199be682
8 changed files with 55 additions and 47 deletions
|
@ -34,7 +34,8 @@ typedef struct mmss_protocol {
|
|||
const char *name;
|
||||
const char *version;
|
||||
|
||||
gmrf_protocol_t* (*init)(gmrf_context_t *ctx);
|
||||
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);
|
||||
} mmss_protocol_t;
|
||||
|
||||
#endif /* _GMRF_MMSS_PROTOCOL_H_ */
|
||||
|
|
Reference in a new issue