DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(gcrypt.info.gz) Error handler

Info Catalog (gcrypt.info.gz) Allocation handler (gcrypt.info.gz) Handler Functions (gcrypt.info.gz) Logging handler
 
 4.3 Error handler
 =================
 
 The following functions may be used to register handler functions that
 are called by Libgcrypt in case certain error conditions occur.
 
  -- Data type: gcry_handler_no_mem_t
      This type is defined as: `void (*gcry_handler_no_mem_t) (void *,
      size_t, unsigned int)'
 
  -- Function: void gcry_set_outofcore_handler (gcry_handler_no_mem_t
           FUNC_NO_MEM, void *CB_DATA)
      This function registers FUNC_NO_MEM as `out-of-core handler',
      which means that it will be called in the case of not having enough
      memory available.
 
  -- Data type: gcry_handler_error_t
      This type is defined as: `void (*gcry_handler_error_t) (void *,
      int, const char *)'
 
  -- Function: void gcry_set_fatalerror_handler (gcry_handler_error_t
           FUNC_ERROR, void *CB_DATA)
      This function registers FUNC_ERROR as `error handler', which means
      that it will be called in error conditions.
 
Info Catalog (gcrypt.info.gz) Allocation handler (gcrypt.info.gz) Handler Functions (gcrypt.info.gz) Logging handler
automatically generated byinfo2html