forked from sba1/simplemail
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpgp.h
41 lines (32 loc) · 1.3 KB
/
pgp.h
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
41
/***************************************************************************
SimpleMail - Copyright (C) 2000 Hynek Schlawack and Sebastian Bauer
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***************************************************************************/
#ifndef SM__PGP_H
#define SM__PGP_H
#ifndef SM__LISTS_H
#include "lists.h"
#endif
struct pgp_key
{
struct node node;
unsigned int keyid;
char **userids;
};
int pgp_update_key_list(void);
struct pgp_key *pgp_first(void);
struct pgp_key *pgp_next(struct pgp_key *);
struct pgp_key *pgp_duplicate(struct pgp_key *key);
void pgp_dispose(struct pgp_key *key);
int pgp_operate(char *options, char *output);
#endif