FreeCalypso > hg > themwi-rtp-lib
view src/endp_internal.h @ 42:334d883b96ba
twrtp_jibuf_create: make config argument const
While this config structure is not a constant in the mathematical
sense of the term (it is expected that vty config changes may happen
while twjit instance is alive), twjit functions never write to it,
only read, hence it is 'const' in the not-quite-mathematical C-standard
sense.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 20 Dec 2024 22:47:20 +0000 |
parents | aa97e77e7de6 |
children |
line wrap: on
line source
/* * Internal declarations for twrtp_endp library component. */ #pragma once #include <stdint.h> #include <stdbool.h> #include <osmocom/core/osmo_io.h> #include <osmocom/core/timer.h> #include <themwi/rtp/endp.h> extern const struct osmo_io_ops _twrtp_endp_iops_rtp; extern const struct osmo_io_ops _twrtp_endp_iops_rtcp; int _twrtp_endp_send_rtcp(struct twrtp_endp *endp, bool send_sr, const struct timespec *utc, uint32_t rtp_ts);