pgpfifo.c

来自「pgp soucecode pgp soucecode」· C语言 代码 · 共 38 行

C
38
字号
/*
 * 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.
 *
 * $Id: pgpFIFO.c,v 1.5 1998/09/14 20:49:18 hal Exp $
 */

#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 + -
显示快捷键?