ELinks 0.18.0
Data Structures | Macros | Functions
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(...)   debug_getml(__FILE__, __LINE__, __VA_ARGS__)
 
#define add_to_ml(...)   debug_add_to_ml(__FILE__, __LINE__, __VA_ARGS__)
 
#define add_one_to_ml(ml, p)   debug_add_one_to_ml(__FILE__, __LINE__, ml, p)
 

Macro Definition Documentation

◆ add_one_to_ml

#define add_one_to_ml (   ml,
  p 
)    debug_add_one_to_ml(__FILE__, __LINE__, ml, p)

◆ add_to_ml

#define add_to_ml (   ...)    debug_add_to_ml(__FILE__, __LINE__, __VA_ARGS__)

◆ DEBUG_MEMLIST

#define DEBUG_MEMLIST

◆ getml

#define getml (   ...)    debug_getml(__FILE__, __LINE__, __VA_ARGS__)

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