DFace SDK  2.0.0
LTM
common.h
1 //
2 // Created by asy on 11/24/18.
3 //
4 
5 #ifndef DFACEDB_COMMON_H
6 #define DFACEDB_COMMON_H
7 
8 #include <stdio.h>
9 #include <vector>
10 
14 typedef enum DFACE_DB_ERROR_CODES {
15  DFACE_SUCCESS = 0,
16  DFACE_DB_ERR_DEVICE_UNAUTH = 1,
17  DFACE_DB_ERR_DEVICE_EXPIRE = 2,
18  DFACE_DB_ERR_FEATURE_UNAUTH = 3,
19  DFACE_DB_ERR_FEATURE_EXPIRE = 4,
20  DFACE_DB_ERR_WRONG_MODEL_FILE = 5,
21  DFACE_DB_ERR_LOAD_LIBRARY = 6,
22  DFACE_DB_ERR_OPEN_DB = 7,
23  DFACE_DB_ERR_CREATE_FOREIGN_VARIABLE = 8,
24  DFACE_DB_ERR_INSTALL_FOREIGN_VARIABLE = 9,
25  DFACE_DB_ERR_NOSQL_COMPILE = 10,
26  DFACE_DB_ERR_NOSQL_EXECUTE = 11
27 }DFACE_DB_STATUS;
28 
29 
30 
31 #endif //DFACEDB_COMMON_H