pgpfifo.c

来自「可以实现对邮件的加密解密以及签名」· C语言 代码 · 共 40 行

C
40
字号
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.

	$Id: pgpFIFO.c,v 1.5 2002/08/06 20:11:14 dallen Exp $
____________________________________________________________________________*/
/*
 * pgpFIFO.c -- This is just an abstraction on top of the bytefifo.
 * Yes, I am forcing the issue.  I don't care, since the bytefifo
 * is going to be there anyways, so I might as well put this code
 * here.
 */
#include "pgpConfig.h"
#include "pgpByteFIFO.h"
#include "pgpFIFO.h"

PGPFifoDesc const pgpByteFifoDesc = {
	"Byte Fifo",
	byteFifoCreate,
	byteFifoRead,
	byteFifoWrite,
	byteFifoPeek,
	byteFifoSeek,
	byteFifoFlush,
	byteFifoDestroy,
	byteFifoSize
};

PGPFifoDesc const pgpSecureByteFifoDesc = {
	"Secure Byte Fifo",
	byteFifoCreateSecure,
	byteFifoRead,
	byteFifoWrite,
	byteFifoPeek,
	byteFifoSeek,
	byteFifoFlush,
	byteFifoDestroy,
	byteFifoSize
};

⌨️ 快捷键说明

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