pgptypes.h

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

H
67
字号
/*____________________________________________________________________________
	pgpTypes.h
	
	Copyright (C) 1996,1997 Network Associates Inc. and affiliated companies.
	All rights reserved.
	
	Basic type definitions

	$Id: pgpTypes.h,v 1.7 1999/03/10 02:59:24 heller Exp $
____________________________________________________________________________*/
#ifndef Included_pgpTypes_h	/* [ */
#define Included_pgpTypes_h

#if PGP_MACINTOSH
#include <types.h>
#else
#include <sys/types.h>
#endif

#include "pgpBase.h"

#if ! HAVE_UCHAR
typedef unsigned char	uchar;
#endif

#if ! HAVE_USHORT
typedef unsigned short	ushort;
#endif

#if ! HAVE_UINT
typedef unsigned int	uint;
#endif

#if ! HAVE_ULONG
typedef unsigned long	ulong;
#endif

typedef char			VoidAlign;

#if ! PGP_MACINTOSH
typedef PGPBoolean		Boolean;
#endif


/* Lookie here!  An ANSI-compliant alignment finder! */
#ifndef 	alignof
#define 	alignof(type) (sizeof(struct{type _x; char _y;}) - sizeof(type))
#if PGP_WIN32
/* Causes "unnamed type definition in parentheses" warning" */
#ifndef __MWERKS__
#pragma warning ( disable : 4116 )
#endif
#endif
#endif


#endif /* ] Included_pgpTypes_h */

/*__Editor_settings____

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

⌨️ 快捷键说明

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