apt @VERSION@

crc-16.h

00001 // -*- mode: cpp; mode: fold -*-
00002 // Description                                                          /*{{{*/
00003 // $Id: crc-16.h,v 1.1 1999/05/23 22:55:54 jgg Exp $
00004 /* ######################################################################
00005 
00006    CRC16 - Compute a 16bit crc very quickly
00007    
00008    ##################################################################### */
00009                                                                         /*}}}*/
00010 #ifndef APTPKG_CRC16_H
00011 #define APTPKG_CRC16_H
00012 
00013 #define INIT_FCS  0xffff
00014 unsigned short AddCRC16(unsigned short fcs, void const *buf,
00015                         unsigned long len);
00016 
00017 #endif