~ubuntu-branches/ubuntu/trusty/apt/trusty

« back to all changes in this revision

Viewing changes to apt-pkg/contrib/crc-16.h

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-04-01 17:48:58 UTC
  • mfrom: (1.4.87 sid)
  • Revision ID: package-import@ubuntu.com-20140401174858-4mv29mm29zu22fn1
Tags: 1.0.1ubuntu1
merge with the debian/sid 1.0.1 version
(LP: #1302033)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#ifndef APTPKG_CRC16_H
11
11
#define APTPKG_CRC16_H
12
12
 
 
13
#include <apt-pkg/macros.h>
 
14
 
13
15
#define INIT_FCS  0xffff
14
16
unsigned short AddCRC16(unsigned short fcs, void const *buf,
15
 
                        unsigned long long len);
 
17
                        unsigned long long len) APT_PURE;
16
18
 
17
19
#endif