diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/netif/osmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index 7865e50..20b6123 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -43,8 +43,9 @@ struct osmux_hdr { struct osmux_in_handle { uint8_t osmux_seq; uint8_t batch_factor; - void (*deliver)(struct msgb *msg); - char *data; /* internal data */ + void (*deliver)(struct msgb *msg, void *data); + void *data; + char *internal_data; /* internal data to store batch */ }; #define OSMUX_MAX_CONCURRENT_CALLS 8 |