1 /* $FreeBSD: src/usr.sbin/pkg_install/sign/pgp.h,v 1.1.2.1 2001/03/05 03:43:53 wes Exp $ */
2 /* $OpenBSD: pgp.h,v 1.2 1999/10/04 21:46:28 espie Exp $ */
3 /* Estimate size of pgp signature */
4 #define MAXPGPSIGNSIZE 1024
7 #define PGP "/usr/local/bin/pgp"
13 extern void *new_pgp_checker __P((struct mygzip_header *h, \
14 struct signature *sign, const char *userid, char *envp[], \
15 const char *filename));
17 extern void pgp_add __P((void *arg, const char *buffer, \
20 extern int pgp_sign_ok __P((void *arg));
22 extern void handle_pgp_passphrase __P((void));
24 extern int retrieve_pgp_signature __P((const char *filename, \
25 struct signature **sign, const char *userid, char *envp[]));