mirror of https://gerrit.osmocom.org/libosmocore
Neels Hofmeyr
1633735e9b
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 |
||
---|---|---|
.. | ||
codec | ||
coding | ||
core | ||
crypt | ||
ctrl | ||
gprs | ||
gsm | ||
sim | ||
usb | ||
vty |