⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fvstypes.h

📁 本系统是一个指纹识别系统,可以用来识别用户的指纹,可以用在安全性高的行业或部门.
💻 H
字号:
/* Some of the following types may already be defines in stddef.h on some** systems. The code here will certainly be improved here (when we will** provide a configure script). The typedefs provided here are only valid** on some systems. Modify them according to your systems till we provide** sufficient self detection.*/#ifndef __FVSTYPES_HEADER__#define __FVSTYPES_HEADER__// Tried using template class functions, but they are too much of a headache#define FVS_IMAGE_TYPE unsigned char// Color definitions you may switch the value around if you want diffent// colors#define COLOR_BACKGROUND 0xFF#define COLOR_LINE 0x00typedef unsigned char  uint8_t;typedef unsigned short uint16_t;typedef unsigned int   uint32_t;typedef float float_t;#ifndef __int8_t_definedtypedef signed char    int8_t;typedef signed short   int16_t;typedef signed int     int32_t;#endiftypedef enum bool_t{    FALSE = 0,    TRUE  = 1} bool_t;typedef void* pointer_t;typedef char* String_t;/* Error codes. An error code should be returned by each function from the** interface. The user of the API should always know when an operation did** not end up successfully.*/typedef enum FvsError_t{    FvsFailure          = -1,   /* an undefined error, use with parcimony */    FvsOk               = 0,    /* no error */    FvsMemory,                  /* not enough memory */    FvsBadParameter,            /* an invalid parameter was used */    FvsBadFormat,               /* bad file format */    FvsIoError,                 /* input / output error */} FvsError_t;#endif /* __FVSTYPES_HEADER__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -