home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
cnews.tar
/
batch
/
coder.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-04
|
267b
|
9 lines
char header[] = "Decode the following with bdecode\n";
char codeset[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-";
#define ENCODE(c) codeset[c]
extern unsigned short crctab[];
#define CRC(crc, c) crc = (crc >> 8) ^ crctab[(crc^c) & 0xff]