SimGrid  3.13
Versatile Simulation of Distributed Systems
dict_elm.c File Reference
#include "dict_private.h"

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_dict_elm, xbt_dict,"Dictionaries internals")
 
xbt_dictelm_t xbt_dictelm_new (xbt_dict_t dict, const char *key, int key_len, unsigned int hash_code, void *content, void_f_pvoid_t free_f)
 
void xbt_dictelm_free (xbt_dict_t dict, xbt_dictelm_t element)
 
void xbt_dictelm_set_data (xbt_dict_t dict, xbt_dictelm_t element, void *data, void_f_pvoid_t free_ctn)
 
voiddict_elm_mallocator_new_f (void)
 
voiddict_het_elm_mallocator_new_f (void)
 

Variables

xbt_mallocator_t dict_elm_mallocator = NULL
 
xbt_mallocator_t dict_het_elm_mallocator = NULL
 

Function Documentation

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( xbt_dict_elm  ,
xbt_dict  ,
"Dictionaries internals"   
)
xbt_dictelm_t xbt_dictelm_new ( xbt_dict_t  dict,
const char *  key,
int  key_len,
unsigned int  hash_code,
void content,
void_f_pvoid_t  free_f 
)
void xbt_dictelm_free ( xbt_dict_t  dict,
xbt_dictelm_t  element 
)
void xbt_dictelm_set_data ( xbt_dict_t  dict,
xbt_dictelm_t  element,
void data,
void_f_pvoid_t  free_ctn 
)
void* dict_elm_mallocator_new_f ( void  )
void* dict_het_elm_mallocator_new_f ( void  )

Variable Documentation

xbt_mallocator_t dict_elm_mallocator = NULL
xbt_mallocator_t dict_het_elm_mallocator = NULL