DTNMA Reference Tools v2.1.0 - 7.g389b8d8
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
config.h File Reference

Configuration items driven by CMake options and user tailoring. More...

+ This graph shows which files directly or indirectly include this file:

Macros

#define ARI_TEXT_PARSE
 
#define ENABLE_LUT_CACHE
 
#define PCRE_FOUND
 
#define PCRE2_CODE_UNIT_WIDTH   8
 
#define HAVE_GETOPT_LONG
 
#define CACE_MALLOC   malloc
 Uses the same function signature as C99 malloc().
 
#define CACE_REALLOC   realloc
 Uses the same function signature as C99 realloc().
 
#define CACE_FREE   free
 Uses the same function signature as C99 free().
 
#define M_USE_SMALL_NAME   0
 Force the use of M_ prefixed macros for M*LIB.
 
#define M_MEMORY_ALLOC(ctx, type)   ((type *) CACE_MALLOC(sizeof(type)))
 Define to override value/struct allocation.
 
#define M_MEMORY_DEL(ctx, ptr)   CACE_FREE(ptr)
 Define to override value/struct deallocation.
 
#define M_MEMORY_REALLOC(ctx, type, ptr, o, n)   (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *) NULL : (type *) CACE_REALLOC((ptr), (n)*sizeof (type)))
 Define to override array allocation.
 
#define M_MEMORY_FREE(ctx, type, ptr, o)   CACE_FREE(ptr)
 Define to override array deallocation.
 

Detailed Description

Configuration items driven by CMake options and user tailoring.

Macro Definition Documentation

◆ M_MEMORY_ALLOC

#define M_MEMORY_ALLOC (   ctx,
  type 
)    ((type *) CACE_MALLOC(sizeof(type)))

Define to override value/struct allocation.

See m-core.h for details.

◆ M_MEMORY_DEL

#define M_MEMORY_DEL (   ctx,
  ptr 
)    CACE_FREE(ptr)

Define to override value/struct deallocation.

See m-core.h for details.

◆ M_MEMORY_FREE

#define M_MEMORY_FREE (   ctx,
  type,
  ptr,
 
)    CACE_FREE(ptr)

Define to override array deallocation.

See m-core.h for details.

◆ M_MEMORY_REALLOC

#define M_MEMORY_REALLOC (   ctx,
  type,
  ptr,
  o,
 
)    (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *) NULL : (type *) CACE_REALLOC((ptr), (n)*sizeof (type)))

Define to override array allocation.

See m-core.h for details.