libosmocore/include/osmocom/ctrl
Neels Hofmeyr abdd7a28ed 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
2017-10-24 10:54:07 +00:00
..
control_cmd.h add osmo_talloc_asprintf() and ctrl_cmd_reply_printf() 2017-10-24 10:54:07 +00:00
control_if.h ctrl: allow more nodes than those in enum ctrl_node_type 2017-10-23 22:31:01 +00:00
control_vty.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
ports.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00