Ordo
0.3.4
Symmetric Cryptography Library
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
ordo
common
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
115
enum
ORDO_ERROR
116
{
117
ORDO_SUCCESS
= 0,
118
ORDO_FAIL
= -1,
119
ORDO_LEFTOVER
= -2,
120
ORDO_KEY_LEN
= -3,
121
ORDO_PADDING
= -4,
122
ORDO_ARG
= -5
123
};
124
125
/*===----------------------------------------------------------------------===*/
126
127
#ifdef __cplusplus
128
}
129
#endif
130
131
#endif
ORDO_ARG
Definition:
error.h:122
ORDO_FAIL
Definition:
error.h:118
ORDO_ERROR
ORDO_ERROR
Definition:
error.h:115
interface.h
API.
ORDO_KEY_LEN
Definition:
error.h:120
ORDO_SUCCESS
Definition:
error.h:117
ordo_error_msg
ORDO_PUBLIC const char * ordo_error_msg(int code)
Definition:
error.c:11
ORDO_LEFTOVER
Definition:
error.h:119
ORDO_PADDING
Definition:
error.h:121
Generated on Sun Jul 27 2014 23:46:11 for Ordo by
1.8.6