(gcrypt.info) Allocation handler

Info Catalog (gcrypt.info) Progress handler (gcrypt.info) Handler Functions (gcrypt.info) Error handler
 
 Allocation handler
 ==================
 
 It is possible to make Libgcrypt use special memory allocation
 functions instead of the built-in ones.
 
    Memory allocation functions are of the following types:
 
  - Data type: gcry_handler_alloc_t
      This type is defined as: `void *(*gcry_handler_alloc_t) (size_t
      n)'.
 
  - Data type: gcry_handler_secure_check_t
      This type is defined as: `void *(*gcry_handler_secure_check_t)
      (void *)'.
 
  - Data type: gcry_handler_realloc_t
      This type is defined as: `void *(*gcry_handler_realloc_t) (void
      *p, size_t n)'.
 
  - Data type: gcry_handler_free_t
      This type is defined as: `void *(*gcry_handler_free_t) (void *)'.
 
    Special memory allocation functions can be installed with the
 following function:
 
  - Function: void gcry_set_allocation_handler (gcry_handler_alloc_t
           FUNC_ALLOC, gcry_handler_alloc_t FUNC_ALLOC_SECURE,
           gcry_handler_secure_check_t FUNC_SECURE_CHECK,
           gcry_handler_realloc_t FUNC_REALLOC, gcry_handler_free_t
           FUNC_FREE)
      Install the provided functions and use them instead of the built-in
      functions for doing memory allocation.
 
Info Catalog (gcrypt.info) Progress handler (gcrypt.info) Handler Functions (gcrypt.info) Error handler
automatically generated by info2html