summaryrefslogtreecommitdiffstats
path: root/doc/vty/example.xml
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-19 02:40:01 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-24 10:54:07 +0000
commitabdd7a28ede091f06325b3e5b8a77fc9130e6ee3 (patch)
tree1692e0a7faa3f0edb1f2e5d3cca176f09f4c7f75 /doc/vty/example.xml
parente9e9e427b78271941a25a63567fc2ec2bb9e4433 (diff)
add osmo_talloc_asprintf() and ctrl_cmd_reply_printf()
Add macro to append to a CTRL commands' reply string, ctrl_cmd_reply_printf(). The talloc_asprintf() part of it is generic enough to qualify for a separate macro, osmo_talloc_asprintf(). The idea is to not have to decide for each bit added to a string whether the string is already allocated or not, but simply be able to issue printf commands and let the macro worry about initial allocation or reallocation. This originally came from osmo-hlr change I1bd62ae0d4eefde7e1517db15a2155640a1bab58, where it was requested to move this bit to libosmocore. Change-Id: Ic9dba0e4a1eb5a7dc3cee2f181b9024ed4fc7005
Diffstat (limited to 'doc/vty/example.xml')
0 files changed, 0 insertions, 0 deletions