pgpbitutils.h
来自「vc环境下的pgp源码」· C头文件 代码 · 共 50 行
H
50 行
/*____________________________________________________________________________
Copyright (C) 1998 Network Associates Inc. and affiliated companies.
All rights reserved.
$Id: pgpBitUtils.h,v 1.2 1999/03/10 02:47:10 heller Exp $
____________________________________________________________________________*/
#ifndef Included_pgpBitUtils_h /* [ */
#define Included_pgpBitUtils_h
#include "pgpBase.h"
typedef PGPUInt32 PGPBitIndex;
typedef PGPUInt32 PGPBitCount;
PGP_BEGIN_C_DECLARATIONS
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
void pgpSetBit(PGPByte *bitmap, PGPBitIndex bitIndex);
void pgpSetBitRange(PGPByte *bitmap, PGPBitIndex startBitIndex,
PGPBitCount numBits);
void pgpClearBit(PGPByte *bitmap, PGPBitIndex bitIndex);
void pgpClearBitRange(PGPByte *bitmap, PGPBitIndex startBitIndex,
PGPBitCount numBits);
PGPBoolean pgpTestBit(PGPByte *bitmap, PGPBitIndex bitIndex);
PGPBoolean pgpTestAndClearBit(PGPByte *bitmap, PGPBitIndex bitIndex);
PGPBoolean pgpTestAndSetBit(PGPByte *bitmap, PGPBitIndex bitIndex);
PGPBitCount pgpCountAndClearBitRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
PGPBitCount pgpCountAndSetBitRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
PGPBitCount pgpCountClearBitsInRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
PGPBitCount pgpCountSetBitsInRange(PGPByte *bitmap,
PGPBitIndex startBitIndex, PGPBitCount numBits);
#if PRAGMA_IMPORT_SUPPORTED
#pragma import reset
#endif
PGP_END_C_DECLARATIONS
#endif /* ] Included_pgpBitUtils_h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?