Inform protocol about interfaces
This commit is contained in:
parent
33d1cf04a7
commit
976cea11de
6 changed files with 35 additions and 17 deletions
|
@ -35,6 +35,7 @@ typedef struct mmss_protocol {
|
|||
const char* (*get_version)(void);
|
||||
|
||||
gmrf_context_t* (*init)(gmrf_t *gmrf);
|
||||
void (*add_iface)(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface);
|
||||
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;
|
||||
|
||||
|
|
Reference in a new issue