pgplineendio.h

来自「vc环境下的pgp源码」· C头文件 代码 · 共 67 行

H
67
字号
/*____________________________________________________________________________
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.
	
	A PGPIO subclass which converts TEXT file line endings.
	A subclass of PGPProxyIO.

	$Id: pgpLineEndIO.h,v 1.4 1999/03/10 02:52:40 heller Exp $
____________________________________________________________________________*/
#ifndef Included_pgpLineEndIO_h	/* [ */
#define Included_pgpLineEndIO_h


/* base class */
#include "pgpProxyIO.h"



typedef struct PGPLineEndIO	PGPLineEndIO;
typedef PGPLineEndIO *		PGPLineEndIORef;

enum ConvertLineEndType_
{
	kCRLineEndType,
	kLFLineEndType,
	kCRLFLineEndType
};
PGPENUM_TYPEDEF( ConvertLineEndType_, ConvertLineEndType );


PGP_BEGIN_C_DECLARATIONS
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif



PGPBoolean	PGPLineEndIOIsValid( PGPLineEndIORef ref );
#define PGPValidateLineEndIO( ref )	\
	PGPValidateParam( PGPLineEndIOIsValid( ref ) )
	

/* creates a new PGPLineEndIO type which converts to the specified type
	of line ending */
PGPError	PGPNewLineEndIO( PGPIORef baseIO, PGPBoolean ownsBase,
				ConvertLineEndType toType, PGPLineEndIORef *outRef );





#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
PGP_END_C_DECLARATIONS

#endif /* ] Included_pgpLineEndIO_h */

/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

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