aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/netif/osmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/netif/osmux.h')
-rw-r--r--include/osmocom/netif/osmux.h5
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