2 * $OpenBSD: pgp.h,v 1.2 1999/10/04 21:46:28 espie Exp $
3 * $FreeBSD: src/usr.sbin/pkg_install/sign/pgp.h,v 1.1 2001/02/06 06:46:42 wes Exp $
4 * $DragonFly: src/usr.sbin/pkg_install/sign/pgp.h,v 1.4 2004/07/30 06:46:14 dillon Exp $
6 /* Estimate size of pgp signature */
7 #define MAXPGPSIGNSIZE 1024
10 #define PGP "/usr/local/bin/pgp"
16 extern void *new_pgp_checker (struct mygzip_header
*h
, \
17 struct signature
*sign
, const char *userid
, char *envp
[], \
18 const char *filename
);
20 extern void pgp_add (void *arg
, const char *buffer
, \
23 extern int pgp_sign_ok (void *arg
);
25 extern void handle_pgp_passphrase (void);
27 extern int retrieve_pgp_signature (const char *filename
, \
28 struct signature
**sign
, const char *userid
, char *envp
[]);