diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-02-11 22:49:27 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-02-11 22:49:27 +0100 |
commit | 7ff7a5cd6da3ce40b4cb9daea90948a1ec1495e1 (patch) | |
tree | 8d40591bb53e46f2684afedb998b5ee481c05944 /include | |
parent | 0f1f41411f4cc4c0dda2946b4077265e9e8d0a37 (diff) |
osmux: allow to pass data to osmux_deliver
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 |