json_mem Struct Reference

Internal structure for allocated memory blocks. More...

Collaboration diagram for json_mem:

Collaboration graph
[legend]

Data Fields

void * data []
struct {
   struct json_mem *   next
list
uint32_t magic
ast_mutex_t mutex

Detailed Description

Internal structure for allocated memory blocks.

Definition at line 53 of file json.c.


Field Documentation

void* data[]

Data section of the allocation; void pointer for proper alignment

Definition at line 61 of file json.c.

Referenced by ast_json_malloc().

struct { ... } list

Linked list pointer for the free list

Referenced by ast_json_free(), and ast_json_unref().

uint32_t magic

Magic number, for safety checks

Definition at line 55 of file json.c.

Referenced by ast_json_malloc(), and to_json_mem().

Mutext for locking this memory block

Definition at line 57 of file json.c.

Referenced by ast_json_malloc(), json_mem_lock(), and json_mem_unlock().

struct json_mem* next [read]

Definition at line 59 of file json.c.


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:36:43 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6