ELinks 0.18.0
memlist.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  memory_list
 memory_list is used to track information about all allocated memory belonging to something. More...

Macros

#define DEBUG_MEMLIST
#define getml(...)
#define add_to_ml(...)
#define add_one_to_ml(ml, p)

Macro Definition Documentation

◆ add_one_to_ml

#define add_one_to_ml ( ml,
p )
Value:
debug_add_one_to_ml(__FILE__, __LINE__, ml, p)
void debug_add_one_to_ml(char *file, int line, struct memory_list **ml, void *p)

◆ add_to_ml

#define add_to_ml ( ...)
Value:
debug_add_to_ml(__FILE__, __LINE__, __VA_ARGS__)
void debug_add_to_ml(char *file, int line, struct memory_list **ml,...)

◆ DEBUG_MEMLIST

#define DEBUG_MEMLIST

◆ getml

#define getml ( ...)
Value:
debug_getml(__FILE__, __LINE__, __VA_ARGS__)
struct memory_list * debug_getml(char *file, int line, void *p,...)

Function Documentation

◆ debug_add_one_to_ml()

void debug_add_one_to_ml ( char * file,
int line,
struct memory_list ** ml,
void * p )
related

◆ debug_add_to_ml()

void debug_add_to_ml ( char * file,
int line,
struct memory_list ** ml,
... )
related

◆ debug_getml()

struct memory_list * debug_getml ( char * file,
int line,
void * p,
... )
related

◆ freeml()

void freeml ( struct memory_list * )
related