summaryrefslogtreecommitdiffstats
path: root/sqwebmail/gpg.h
blob: 9356da535ef5cbe80069f04fbf7327567c1d465d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
*/
#ifndef	gpg_h
#define	gpg_h

/*
** Copyright 2001 Double Precision, Inc.  See COPYING for
** distribution information.
*/


#if	HAVE_CONFIG_H
#undef	PACKAGE
#undef	VERSION
#include	"config.h"
#endif
#include	<stdlib.h>
#include	<stdio.h>

extern void gpglistpub();
extern void gpglistsec();

extern void gpgcreate();
extern void gpgdo();

extern void gpgselectkey();
extern void gpgencryptkeys(const char *);
extern int gpgbadarg(const char *);

extern void gpgselectpubkey();
extern void gpgselectprivkey();
extern int gpgexportkey(const char *, int,
			int (*)(const char *, size_t, void *),
			void *);

int gpgdomsg(int, int, const char *, const char *);

extern int gpgdecode(int, int);

#endif