mirror of https://gerrit.osmocom.org/libosmocore
Harald Welte
179f35702e
We have a habit of returning static buffers from some functions, particularly when generating some kind of string values. This is convenient in terms of memory management, but it comes at the expense of not being thread-safe, and not allowing for two calls of the related function within one printf() statement. Let's introduce _c suffix versions of those functions where the caller passes in a talloc context from which the output buffer shall be allocated. Change-Id: I8481c19b68ff67cfa22abb93c405ebcfcb0ab19b |
||
---|---|---|
.. | ||
class_tables.h | ||
sim.h |