crc.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 52 行

H
52
字号
/* -*- C++ -*- */
//=============================================================================
/**
 *  @file CRC.h
 *
 *  CRC.h,v 1.2 2003/07/21 06:42:27 jwillemsen Exp
 *
 *  @author RTING
 *  @author Integrated by Balachandran Natarajan <bala@dre.vanderbilt.edu>
 *
 * The Event Channel uses some of this classes to simplify its event
 * manipulation.
 * For instance it keeps a reference counted RtecEventComm::EventSet
 * and classes to automatically manage this reference count.
 *
 *
 */
//=============================================================================
#ifndef TAO_EC_CRC_H
#define TAO_EC_CRC_H
#include /**/ "ace/pre.h"
#include "ace/OS.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */



/**
 * @namespace TAO_Event_CRC
 *
 * @brief  Temp CRC routines - need to be able to compute CRC's
 * across blocks of memory.
 *
 * @NOTE: That this ONLY works with 32-bit machines.
 *
 */
namespace TAO_Event_CRC
{

  /// Initialize the CRC
  void initialize (void);

  /// Compute CRC
  u_int compute_crc (iovec iov[],
                     int iovcnt);
 }

#include /**/ "ace/post.h"
#endif /*TAO_EC_CRC*/

⌨️ 快捷键说明

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