File:  [PGP] / pgp / src / armor.h
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:45:29 2018 UTC (8 years, 1 month ago) by root
Branches: phill, MAIN
CVS tags: pgp263i, HEAD
PGP 2.6.3i

#ifndef ARMORP_H
#define ARMORP_H

#include <stdio.h>

/* #define crcword unsigned short */	/* if CRCBITS is 16 */
/* #define crcword unsigned short */	/* if CRCBITS is 16 */

#ifdef __alpha
#define crcword unsigned int		/* if CRCBITS is 24 or 32 */
#else
#define crcword unsigned long		/* if CRCBITS is 24 or 32 */
#endif

extern crcword crcbytes(byte *buf, unsigned len, register crcword accum);
extern void init_crc(void);
extern int armor_file (char *infile, char *outfile, char *filename,
	char *clearname, boolean kv_label);
extern int de_armor_file(char *infile, char *outfile, long *curline);
extern boolean is_armor_file (char *infile, long startline);

#endif /* #ifdef ARMORP_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.