pgpfiletype.h
来自「著名的加密软件的应用于电子邮件中」· C头文件 代码 · 共 39 行
H
39 行
/*
* pgpFileType.h - classify files
*
* Copyright (C) 1993-1997 Pretty Good Privacy, Inc. All rights reserved.
*
* $Id: pgpFileType.h,v 1.3.2.1 1997/06/07 09:51:41 mhw Exp $
*/
#ifndef PGPFILETYPE_H
#define PGPFILETYPE_H
#include "pgpUsuals.h"
#ifdef __cplusplus
extern "C" {
#endif
struct PgpFileType {
char const *typename; /* Noun/adjective to modify "file" */
char const *ext; /* .zip, .lha, .gz, etc. */
int compressible; /* Can it be further compressed (.tar) */
};
#ifndef TYPE_PGPFILETYPE
#define TYPE_PGPFILETYPE 1
typedef struct PgpFileType PgpFileType;
#endif
struct PgpFileType const PGPExport *pgpFileType (byte const *prefix,
unsigned len);
int PGPExport pgpFileTypeBinary (char const *lang, byte const *buf,
unsigned len);
int PGPExport pgpFileTypePGP (byte const *prefix, unsigned len);
#ifdef __cplusplus
}
#endif
#endif /* PGPFILETYPE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?