diff options
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c index 1984d29..9448362 100644 --- a/src/common.c +++ b/src/common.c @@ -17,6 +17,16 @@ * along with gapk. If not, see <http://www.gnu.org/licenses/>. */ +#include <talloc.h> + +/* Internal root talloc context */ +TALLOC_CTX *gapk_root_ctx = NULL; + +void osmo_gapk_set_talloc_ctx(void *ctx) +{ + gapk_root_ctx = ctx; +} + /* Internal GAPK logging */ int osmo_gapk_log_init_complete = 0; int osmo_gapk_log_subsys; |