|
BSL v1.0.0 - 4.g1b6a605
AMMOS Bundle Protocol Security Library (BSL)
|
Compile-time static configuration for the BSL. More...
#include <stdlib.h>
Include dependency graph for BSLConfig.h:
This graph shows which files directly or indirectly include this file:Macros | |
| #define | HAVE_CLOCK_GETTIME |
| Part of POSIX.1-2008. | |
| #define | BSL_VERSION "1.0.0" |
| Compile-time library version based on SemVer-2.0.0 conventions. | |
| #define | BSL_VERSION_MAJOR 1 |
| Compile-time major version number. | |
| #define | BSL_VERSION_MINOR 0 |
| Compile-time minor version number. | |
| #define | BSL_VERSION_PATCH 0 |
| Compile-time patch version number. | |
| #define | BSL_MALLOC malloc |
| Uses the same function signature as C99 malloc(). | |
| #define | BSL_REALLOC realloc |
| Uses the same function signature as C99 realloc(). | |
| #define | BSL_FREE free |
| Uses the same function signature as C99 free(). | |
| #define | BSL_CALLOC calloc |
| Uses the same function signature as C99 calloc(). | |
| #define | M_MEMORY_ALLOC(type) ((type *) BSL_MALLOC(sizeof(type))) |
| Force the use of M_ prefixed macros for M*LIB. | |
| #define | M_MEMORY_DEL(ptr) BSL_FREE(ptr) |
| Define to override value/struct deallocation. | |
| #define | M_MEMORY_REALLOC(type, ptr, n) (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *) NULL : (type *) BSL_REALLOC((ptr), (n)*sizeof (type))) |
| Define to override array allocation. | |
| #define | M_MEMORY_FREE(ptr) BSL_FREE(ptr) |
| Define to override array deallocation. | |
Functions | |
| const char * | bsl_version (void) |
| Run-time library version based on SemVer-2.0.0 conventions. | |
Compile-time static configuration for the BSL.
| #define BSL_VERSION "1.0.0" |
Compile-time library version based on SemVer-2.0.0 conventions.
| #define M_MEMORY_ALLOC | ( | type | ) | ((type *) BSL_MALLOC(sizeof(type))) |
Force the use of M_ prefixed macros for M*LIB.
Define to override value/struct allocation. See m-core.h for details.
| #define M_MEMORY_DEL | ( | ptr | ) | BSL_FREE(ptr) |
Define to override value/struct deallocation.
See m-core.h for details.
| #define M_MEMORY_FREE | ( | ptr | ) | BSL_FREE(ptr) |
Define to override array deallocation.
See m-core.h for details.
| #define M_MEMORY_REALLOC | ( | type, | |
| ptr, | |||
| n | |||
| ) | (M_UNLIKELY((n) > SIZE_MAX / sizeof(type)) ? (type *) NULL : (type *) BSL_REALLOC((ptr), (n)*sizeof (type))) |
Define to override array allocation.
See m-core.h for details.
| const char * bsl_version | ( | void | ) |
Run-time library version based on SemVer-2.0.0 conventions.
References BSL_VERSION.