| RSA BSAFE Cert-C Micro Edition |
The power of PKI for the smallest of devices |
Go to the source code of this file.
Typedefs | |
| typedef char* | R_MEM_MALLOC_FUNCTION_T (size_t num) |
| Allocates memory. More... | |
| typedef char* | R_MEM_REALLOC_FUNCTION_T (char *addr, size_t num_new, size_t num_old) |
| Reallocates memory. More... | |
| typedef void | R_MEM_FREE_FUNCTION_T (char *str) |
| Frees memory. More... | |
Functions | |
| void * | Malloc (size_t len) |
| Allocates a block of memory. More... | |
| void * | Realloc (void *a, size_t new_num, size_t old_num) |
| Changes the size of a block of allocated memory. More... | |
| void | Free (void *addr) |
| Deallocates memory. More... | |
| void | R_set_mem_functions (R_MEM_MALLOC_FUNCTION_T *malloc_function, R_MEM_REALLOC_FUNCTION_T *realloc_function, R_MEM_FREE_FUNCTION_T *free_function) |
| Sets a user-defined implementation instead of the default implementations for library level memory allocation for R_malloc(), R_realloc() and R_free(). More... | |
| R_get_mem_functions (R_MEM_MALLOC_FUNCTION_T **malloc_function, R_MEM_REALLOC_FUNCTION_T **realloc_function, R_MEM_FREE_FUNCTION_T **free_function) | |
| Returns the current implementation for library level memory allocation for R_malloc(), R_realloc() and R_free(). More... | |
| char* | R_malloc (size_t num) |
| Performs the library level memory allocation. More... | |
| void | R_free (char *str) |
| Frees library level memory for the memory address str that was allocated via R_malloc(). More... | |
| char* | R_realloc (char *addr, size_t num_new, size_t num_old) |
| Reallocates library level memory for the memory address str that was allocated via R_malloc() or R_realloc(). More... | |
| char* | R_remalloc (char *addr, size_t num) |
| Frees an existing pointer and then reallocates library level memory for the memory address addr. More... | |