aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eo/eo_ptr_indirection.c
blob: e5a9238f4b618632882b70519c7a0165cf2a580f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "eo_ptr_indirection.h"

/* Tables handling pointers indirection */
__attribute__ ((visibility("default"))) _Eo_Ids_Table **_eo_ids_tables[MAX_MID_TABLE_ID] = { NULL };

/* Current table used for following allocations */
_Eo_Ids_Table *_current_table = NULL;

/* Spare empty table */
_Eo_Ids_Table *_empty_table = NULL;

/* Next generation to use when assigning a new entry to a Eo pointer */
Generation_Counter _eo_generation_counter = 0;