diff options
author | Max <msuraev@sysmocom.de> | 2022-12-18 21:03:13 +0300 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-02-10 11:43:26 +0000 |
commit | 50d4a66e347a42e08fa91351d7f5424e84729f45 (patch) | |
tree | 3ba65900e9a941e1a2aa6a474df5a4c3740a4e6d /include/osmocom/netif/rtp.h | |
parent | 30b6d6134dea59ecd1eecd95d49921d6b061bde3 (diff) |
Add osmo_stream_srv_link_is_opened()
We use file descriptor of -1 as an indicator for unopened link internally.
However, since all the structs of libosmo-netif are opaque, using it from external
applications looks like a leaky abstraction.
Let's remedy this by adding function which properly check this for the library user.
Related: OS#5568
Change-Id: I91aa7da5f09ec4e8e2d21c827b45ed92e6b0e3d9
Diffstat (limited to 'include/osmocom/netif/rtp.h')
0 files changed, 0 insertions, 0 deletions