icedb  version 0.5.1
Snow particle scattering database API
Classes | Macros | Typedefs | Variables
error.h File Reference
#include "defs.h"
#include "errorCodes.h"
#include <stdio.h>
#include <stdint.h>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ICEDB_error_container_ftable
 A convenience wrapper for all error functions. More...
 

Macros

#define ICEDB_H_ERROR
 

Typedefs

typedef int ICEDB_error_code
 
typedef size_t(* ICEDB_error_code_to_message_size_f) (ICEDB_error_code err)
 
typedef size_t(* ICEDB_error_code_to_message_f) (ICEDB_error_code err, size_t buf_size, char *buf)
 
typedef size_t(* ICEDB_error_code_to_stream_f) (ICEDB_error_code err, FILE *fp)
 
typedef struct ICEDB_error_context *(* ICEDB_get_error_context_thread_local_f) ()
 
typedef void(* ICEDB_error_context_deallocate_f) (struct ICEDB_error_context *)
 
typedef ICEDB_error_code(* ICEDB_error_context_to_code_f) (const struct ICEDB_error_context *)
 
typedef size_t(* ICEDB_error_context_to_message_size_f) (const struct ICEDB_error_context *)
 
typedef size_t(* ICEDB_error_context_to_message_f) (const struct ICEDB_error_context *err, size_t buf_size, char *buf)
 
typedef size_t(* ICEDB_error_context_to_stream_f) (const struct ICEDB_error_context *err, FILE *fp)
 
typedef ICEDB_error_code(* ICEDB_error_test_f) ()
 
typedef const char *(* ICEDB_error_getOSname_f) ()
 Convenience function that returns an immutable string describing the OS type. Staticly allocated. More...
 

Variables

DL_ICEDB ICEDB_error_code_to_message_size_f ICEDB_error_code_to_message_size
 
DL_ICEDB ICEDB_error_code_to_message_f ICEDB_error_code_to_message
 
DL_ICEDB ICEDB_error_code_to_stream_f ICEDB_error_code_to_stream
 
DL_ICEDB ICEDB_get_error_context_thread_local_f ICEDB_get_error_context_thread_local
 
DL_ICEDB ICEDB_error_context_deallocate_f ICEDB_error_context_deallocate
 
DL_ICEDB ICEDB_error_context_to_code_f ICEDB_error_context_to_code
 
DL_ICEDB ICEDB_error_context_to_message_size_f ICEDB_error_context_to_message_size
 
DL_ICEDB ICEDB_error_context_to_message_f ICEDB_error_context_to_message
 
DL_ICEDB ICEDB_error_context_to_stream_f ICEDB_error_context_to_stream
 
DL_ICEDB ICEDB_error_test_f ICEDB_error_test
 
DL_ICEDB ICEDB_error_getOSname_f ICEDB_error_getOSname
 
DL_ICEDB const struct ICEDB_error_container_ftable ICEDB_ct_error
 

Macro Definition Documentation

◆ ICEDB_H_ERROR

#define ICEDB_H_ERROR

Definition at line 3 of file error.h.