libosmocore/include/osmocom
Harald Welte b365b1d094 osmo_io: Change struct osmo_io_ops to contain struct, not union
As we introduce more modes, and each mode aliases call-back function
pointers to those of another mode, we have more and more error cases
where we (for exampele) access read_cb, but in reality the user has
populated recvfrom_cb.

Let's use a struct, meaning that call-backs of one mode no longer alias
to the same memory locations of call-backs fro another mode.  This
allows us to properly check if the user actually provided the right
callbacks for the given mode of the iofd.

This breaks ABI, but luckily not API.  So a simple recompile of
higher-layer library + application code will work.

Change-Id: I9d302df8d00369e7b30437a52deb205f75882be3
2024-02-23 18:01:36 +01:00
..
codec ecu: add is_dtx_pause() method 2023-06-23 18:42:11 +00:00
coding coding: gsm0503_tch_a[fh]s_encode(): make *codec const 2023-11-14 11:57:19 +00:00
core osmo_io: Change struct osmo_io_ops to contain struct, not union 2024-02-23 18:01:36 +01:00
crypt struct osmo_sub_auth_data: remove OSMO_DEPRECATED_OUTSIDE 2023-06-05 18:33:52 +00:00
ctrl ctrl: Add lchan node 2024-01-30 18:31:26 +02:00
gprs gprs_bssgp_rim: add decoder for RIM ROUTING ADDRESS 2023-08-10 12:01:25 +02:00
gsm comment: gsm_04_08.h: add a spec hint 2024-02-06 02:14:32 +01:00
isdn isdn: add a lookup table with E1/E2/E3 bits from Table 5/V.110 2024-01-16 20:04:00 +07:00
sim Split include/Makefile.am content into subdirs 2023-01-18 18:29:34 +01:00
usb Split include/Makefile.am content into subdirs 2023-01-18 18:29:34 +01:00
vty vty: move struct vty_parent_node to private API 2023-05-06 03:49:08 +00:00
Makefile.am create libosmoisdn sub-library 2023-01-21 22:41:57 +01:00