error.h
来自「SecuDe是一个由安全应用程序接口组成,对验证机制、证件处理、PEM、X.40」· C头文件 代码 · 共 41 行
H
41 行
/*-------------------------------------------------------+-----*/
/* | GMD */
/* SYSTEM STAMOD - Version 2.0 +-----*/
/* */
/*-------------------------------------------------------------*/
/* */
/* PACKAGE T1 VERSION 2.0 */
/* DATE November 1991 */
/* BY Levona Eckstein*/
/* */
/* FILENAME */
/* error.h */
/* */
/* DESCRIPTION */
/* This file contains all error codes dealing with T=1 */
/* protocol operation */
/*-------------------------------------------------------------*/
#define TP1_OK 0#define RD_ERR 0x20#define WR_ERR 0x21#define EDC_ERR 0x22 /* To indicate invalid block received */#define MEMO_ERR 0x23 /* Memory alloc error */#define OPEN_ERR 0x24 /* Faile for opening file or initiate port*/#define CLOSE_ERR 0x25#define BLK_TIMEOUT 0x26 /* Faile for receiving a block from SCT within the block waiting time */#define CHAR_TIMEOUT 0x27 /* Character is not come within character waiting time */#define INVALID_LEN 0x28 /* Length of data field of a block is incompatiable with that allowed by PC */#define INVAL_TPDULEN 0x29 /* Length of TPDU-request is too long */#define INVALID_PORT 0x30 /* Not available port */#define SELECT_ERR 0x31 /* Error from system call */#define PROT_RESYNCH 0x32 /* Protocol has been resynchronized. and communication can be started again with new protocol parameter state. */#define SCT_RESET 0x33 /* Smart card terminal should be reset phsically due to errors unrecoverable */#define SYNTAX_ERR 0x34
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?