Ordo  0.3.4
Symmetric Cryptography Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
error.h
Go to the documentation of this file.
1 /*===-- common/errors.h --------------------------------*- PUBLIC -*- H -*-===*/
11 /*===----------------------------------------------------------------------===*/
12 
13 #ifndef ORDO_ERROR_H
14 #define ORDO_ERROR_H
15 
17 #include "ordo/common/interface.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 /*===----------------------------------------------------------------------===*/
25 
34 ORDO_PUBLIC
35 const char *ordo_error_msg(int code);
36 
116 {
118  ORDO_FAIL = -1,
122  ORDO_ARG = -5
123 };
124 
125 /*===----------------------------------------------------------------------===*/
126 
127 #ifdef __cplusplus
128 }
129 #endif
130 
131 #endif
Definition: error.h:122
Definition: error.h:118
ORDO_ERROR
Definition: error.h:115
Definition: error.h:120
Definition: error.h:117
ORDO_PUBLIC const char * ordo_error_msg(int code)
Definition: error.c:11
Definition: error.h:119
Definition: error.h:121