aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-09 14:23:56 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commitf23b74736458d2415dd1dfec0559af44e6353574 (patch)
treeed9911eb6e2f756eeb625d5825d02c5e43173104 /include
parent750c896b4a9e619bbc6f712f82b8d602a1750f96 (diff)
libosmogapk: introduce the internal root talloc context
In order to simplify memory leak debugging, this change introduces the library's internal talloc context that may be changed by external application by calling the osmo_gapk_set_talloc_ctx().
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gapk/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/gapk/common.h b/include/osmocom/gapk/common.h
index 138882c..920824e 100644
--- a/include/osmocom/gapk/common.h
+++ b/include/osmocom/gapk/common.h
@@ -18,4 +18,5 @@
#pragma once
+void osmo_gapk_set_talloc_ctx(void *ctx);
void osmo_gapk_log_init(int subsys);