21 lines
528 B
C
21 lines
528 B
C
|
#ifndef ENCLAVE_H_
|
||
|
#define ENCLAVE_H_
|
||
|
|
||
|
|
||
|
/***************************************************
|
||
|
* Enclave return codes
|
||
|
***************************************************/
|
||
|
#define RET_SUCCESS 0
|
||
|
#define ERR_PASSWORD_OUT_OF_RANGE 1
|
||
|
#define ERR_WALLET_ALREADY_EXISTS 2
|
||
|
#define ERR_CANNOT_SAVE_WALLET 3
|
||
|
#define ERR_CANNOT_LOAD_WALLET 4
|
||
|
#define ERR_WRONG_MASTER_PASSWORD 5
|
||
|
#define ERR_WALLET_FULL 6
|
||
|
#define ERR_ITEM_DOES_NOT_EXIST 7
|
||
|
#define ERR_ITEM_TOO_LONG 8
|
||
|
#define ERR_FAIL_SEAL 9
|
||
|
#define ERR_FAIL_UNSEAL 10
|
||
|
|
||
|
|
||
|
#endif // ENCLAVE_H_
|