|
|
| version 1.2, 2003/06/17 04:29:59 | version 1.3, 2003/11/03 19:31:39 |
|---|---|
| Line 1 | Line 1 |
| /* $FreeBSD: src/usr.sbin/pkg_install/sign/pgp.h,v 1.1.2.1 2001/03/05 03:43:53 wes Exp $ */ | /* $FreeBSD: src/usr.sbin/pkg_install/sign/pgp.h,v 1.1.2.1 2001/03/05 03:43:53 wes Exp $ */ |
| /* $DragonFly: src/usr.sbin/pkg_install/sign/pgp.h,v 1.1 2003/06/16 07:31:30 dillon Exp $ */ | /* $DragonFly$ */ |
| /* $OpenBSD: pgp.h,v 1.2 1999/10/04 21:46:28 espie Exp $ */ | /* $OpenBSD: pgp.h,v 1.2 1999/10/04 21:46:28 espie Exp $ */ |
| /* Estimate size of pgp signature */ | /* Estimate size of pgp signature */ |
| #define MAXPGPSIGNSIZE 1024 | #define MAXPGPSIGNSIZE 1024 |
| Line 11 | Line 11 |
| struct mygzip_header; | struct mygzip_header; |
| struct signature; | struct signature; |
| extern void *new_pgp_checker __P((struct mygzip_header *h, \ | extern void *new_pgp_checker(struct mygzip_header *h, \ |
| struct signature *sign, const char *userid, char *envp[], \ | struct signature *sign, const char *userid, char *envp[], \ |
| const char *filename)); | const char *filename); |
| extern void pgp_add __P((void *arg, const char *buffer, \ | extern void pgp_add(void *arg, const char *buffer, \ |
| size_t length)); | size_t length); |
| extern int pgp_sign_ok __P((void *arg)); | extern int pgp_sign_ok(void *arg); |
| extern void handle_pgp_passphrase __P((void)); | extern void handle_pgp_passphrase(void); |
| extern int retrieve_pgp_signature __P((const char *filename, \ | extern int retrieve_pgp_signature(const char *filename, \ |
| struct signature **sign, const char *userid, char *envp[])); | struct signature **sign, const char *userid, char *envp[]); |