home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.src.lzh
/
input
/
coder.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-05
|
319b
|
14 lines
#ifndef _CODER_H_
#define _CODER_H_
char header[] = "Decode the following with bdecode\n";
char codeset[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-";
#define ENCODE(c) codeset[c]
extern short crctab[];
#define CRC(crc, c) crc = (crc >> 8) ^ crctab[(crc^c) & 0xff]
#endif /* _CODER_H_ */