aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-09-15 00:48:36 +0000
committerlaforge <laforge@osmocom.org>2020-09-20 09:51:32 +0000
commit9277b97d0b2cf96ea422dc3b7fd0c2027d242890 (patch)
tree3df8c66c6c51370ea776ecd32c8173939d7b63f9 /include/osmocom/vty
parentb40cfdc54ba6a64a87b48aba8d3b6e39dac4e329 (diff)
add osmo_use_count_to_str_c()
So far there is only osmo_use_count_name_buf(). Also provide a use count to string using a talloc context, allowing to use OTC_SELECT. - instead of foo_name(), rather use foo_to_str(). - osmo_use_count_name_buf() returns the buf and not the chars_needed. So add osmo_use_count_to_str_buf() with a signature that is usable by OSMO_NAME_C_IMPL(). - provide osmo_use_count_to_str_c() using OSMO_NAME_C_IMPL(). Change-Id: I1d2e7ee979f8c316ef99f7c65675b36d092ddfca
Diffstat (limited to 'include/osmocom/vty')
0 files changed, 0 insertions, 0 deletions