bitfield.h

来自「基于h323协议的软phone」· C头文件 代码 · 共 40 行

H
40
字号
/***********************************************************************
        Copyright (c) 2002 RADVISION Ltd.
************************************************************************
NOTICE:
This document contains information that is confidential and proprietary
to RADVISION Ltd.. No part of this document may be reproduced in any
form whatsoever without written prior approval by RADVISION Ltd..

RADVISION Ltd. reserve the right to revise this publication and make
changes without obligation to notify any person of such revisions or
changes.
***********************************************************************/

#ifndef __BITFIELD_H
#define __BITFIELD_H

#include "rvtypes.h"

#ifdef __cplusplus
extern "C" {
#endif

RvUint32 bitfieldSet(
    IN  RvUint32    value,
    IN  RvUint32    bitfield,
    IN  int         nStartBit,
    IN  int         nBits);

RvUint32 bitfieldGet(
    IN  RvUint32    value,
    IN  int         nStartBit,
    IN  int         nBits);

#ifdef __cplusplus
}
#endif

#endif /* __BITFIELD_H */

⌨️ 快捷键说明

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