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

📄 util.h

📁 读写Smart卡加解密接口的程序
💻 H
字号:
#ifndef UTIL_H#define UTIL_H#ifdef HAVE_CONFIG_H#include <config.h>#endif#ifdef HAVE_GETOPT_H#include <getopt.h>#endif#include <stdio.h>#include <stdlib.h>#include <string.h>#include <fcntl.h>#include <errno.h>#ifdef HAVE_STRINGS_H#include <strings.h>#endif#ifdef HAVE_UNISTD_H#include <unistd.h>#endif#include <sys/stat.h>#include <opensc/opensc.h>#ifdef  __cplusplusextern "C" {#endifextern const struct option options[];extern const char *option_help[];extern const char *app_name;void print_binary(FILE *f, const u8 *buf, int count);void hex_dump(FILE *f, const u8 *in, int len, const char *sep);void hex_dump_asc(FILE *f, const u8 *in, size_t count, int addr);void print_usage_and_die(void);const char * acl_to_str(const struct sc_acl_entry *e);void warn(const char *fmt, ...);void error(const char *fmt, ...);void fatal(const char *fmt, ...);/* All singing all dancing card connect routine */int connect_card(struct sc_context *, struct sc_card **,		int reader_id, int slot_id, int wait, int quiet);#ifdef  __cplusplus}#endif#endif

⌨️ 快捷键说明

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