libosmocore 1.13.1.1-afb4 Osmocom core library

Data Structures | Macros | Functions | Variables
talloc.h File Reference
`#include <talloc.h>`

Go to the source code of this file.

## Data Structures
struct | osmo_talloc_contexts
| per-thread talloc contexts. More...

## Macros
#define | OTC_GLOBAL (osmo_ctx->global)
#define | OTC_SELECT (osmo_ctx->select)

## Functions
int | osmo_ctx_init (const char *id)

## Variables
__thread struct osmo_talloc_contexts * | osmo_ctx

## Macro Definition Documentation

## ◆ OTC_GLOBAL

#define OTC_GLOBAL (osmo_ctx->global)

## ◆ OTC_SELECT

#define OTC_SELECT (osmo_ctx->select)

## Function Documentation

## ◆ osmo_ctx_init()

int osmo_ctx_init | ( | const char * | id | ) |

References osmo_talloc_contexts::global, osmo_ctx, and osmo_talloc_contexts::select.

Referenced by __attribute__().

## Variable Documentation

## ◆ osmo_ctx

__thread struct osmo_talloc_contexts* osmo_ctx
| extern

Referenced by osmo_ctx_init().