libosmocore/include/osmocom/core
Neels Hofmeyr 1633735e9b add osmo_quote_str_buf3, osmo_escape_str_buf3
There already are osmo_quote_str_buf() and osmo_quote_str_buf2(), same
for _escape_, but none of them return the snprintf() like string length.
A private function does, publish this in the API.

The returned chars_needed is required to accurately allocate sufficient
size in string functions that call osmo_quote_str/osmo_escape_str. I am
adding such in osmo-upf.git.

Related: SYS#5599
Change-Id: I05d75a40599e3133da099a11e8babaaad0e9493a
2022-02-07 22:10:29 +01:00
..
application.h application: do not document unrelated forward-declarations 2020-10-24 04:08:19 +07:00
backtrace.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
base64.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bitXXgen.h.tpl treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bitcomp.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bits.h [doc] bits.c: Better / more Doxygen documentation 2017-10-16 14:19:12 +02:00
bitvec.h bitvec: Fix -Wsign-compare warnings 2022-01-09 12:04:16 +01:00
byteswap.h fix issue on big endian architecture 2018-04-09 17:32:11 +00:00
conv.h conv: Fix the traceback for tail biting codes 2022-01-05 20:24:49 +00:00
counter.h cosmetic: get rid of 3 deprecation warnings 2021-09-30 18:33:43 +00:00
crc16.h [doc] Put CRC-16 and generic CRC code in one Doxygen module 2017-10-16 14:29:26 +02:00
crcXXgen.h.tpl treewide: remove FSF address 2021-12-14 12:44:03 +01:00
crcgen.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
defs.h core/defs.h: introduce and use OSMO_DEPRECATED_OUTSIDE 2019-12-11 12:42:05 +00:00
endian.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
exec.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
fsm.h fsm: Add osmo_fsm_inst_broadcast_children() 2020-12-21 15:45:45 +01:00
gsmtap.h gsmtap: Add definitions for E1/T1 payload (LAPD, TRAU, FR) in GSMTAP 2020-08-20 20:07:03 +00:00
gsmtap_util.h VTY: implement 'no log gsmtap [HOSTNAME]' command 2022-01-05 09:51:34 +00:00
hash.h Add hlist and hashtable from Linux kernel 2020-12-05 11:39:42 +01:00
hashtable.h Add hlist and hashtable from Linux kernel 2020-12-05 11:39:42 +01:00
isdnhdlc.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
it_q.h Add inter-thread queue 2021-01-06 00:22:13 +01:00
linuxlist.h linuxlist: add macro to get last element of a list 2021-07-07 16:53:47 +02:00
linuxrbtree.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
log2.h log2.h: Avoid redefining __always_inline 2020-12-06 15:45:52 +01:00
logging.h logging: log to stderr when logging is not initialized 2022-01-25 17:49:20 +01:00
logging_internal.h logging: Move extern declaration of osmo_log_target_list from logging.h to logging_internal.h 2019-09-20 15:21:33 +00:00
loggingrb.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
macaddr.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
mnl.h Integrate libmnl (minimal netlink) library with libosmocore select loop 2020-12-02 21:04:51 +00:00
msgb.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
msgfile.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
panic.h osmo_panic(): Annotate as __attribute__ ((noreturn)) 2018-06-29 20:32:57 +02:00
plugin.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
prbs.h Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
prim.h [doc] Expand Doxuygen documentation for osmo_prim 2017-10-16 14:52:37 +02:00
process.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rate_ctr.h stat,rate_ctr: Allow setting group name and use it at report time 2021-06-05 15:46:27 +00:00
select.h osmo_select_shutdown_request(): allow finishing pending writes on SIGTERM 2021-06-18 12:22:44 +00:00
sercomm.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
serial.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
signal.h signal: Introduce API osmo_signal_talloc_ctx_init 2018-08-16 21:03:32 +02:00
sockaddr_str.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
socket.h add osmo_sockaddr_to_str_c(), osmo_sockaddr_to_str_buf2() 2022-01-31 15:03:53 +00:00
stat_item.h refactor stat_item: get rid of FIFO and "skipped" error 2021-09-30 18:33:43 +00:00
statistics.h Rename 'statistics.c' to 'counter.c' 2017-10-15 19:51:35 +02:00
stats.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
stats_tcp.h stats_tcp: use a default batch size of 5 instead of 1 2022-01-05 20:32:07 +00:00
strrb.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
talloc.h Declare osmo_ctx_init() in talloc.h 2020-12-28 22:29:01 +01:00
tdef.h fix default_timeout type of osmo_tdef_fsm_inst_state_chg default_timeout 2021-04-28 18:31:31 +00:00
thread.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
time_cc.h add osmo_time_cc, moved from osmo-bsc 2021-11-15 09:06:03 +00:00
timer.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
timer_compat.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
use_count.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
utils.h add osmo_quote_str_buf3, osmo_escape_str_buf3 2022-02-07 22:10:29 +01:00
write_queue.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00