1 |
/* wptImport.h |
2 |
* Copyright (C) 2005, 2006 Timo Schulz |
3 |
* |
4 |
* This file is part of WinPT. |
5 |
* |
6 |
* WinPT is free software; you can redistribute it and/or |
7 |
* modify it under the terms of the GNU General Public License |
8 |
* as published by the Free Software Foundation; either version 2 |
9 |
* of the License, or (at your option) any later version. |
10 |
* |
11 |
* WinPT is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 |
* General Public License for more details. |
15 |
*/ |
16 |
#ifndef WPT_IMPORT_H |
17 |
#define WPT_IMPORT_H 1 |
18 |
|
19 |
/* GPG import status values */ |
20 |
typedef enum { |
21 |
GPG_IMPSTAT_NPKEYS = 0, /* new public keys */ |
22 |
GPG_IMPSTAT_NOSELFSIG = 1, /* no self signatures */ |
23 |
GPG_IMPSTAT_IPKEYS = 2, /* imported public keys */ |
24 |
GPG_IMPSTAT_NUIDS = 5, /* new user ids */ |
25 |
GPG_IMPSTAT_NSUBKEYS = 6, /* new sub keys */ |
26 |
GPG_IMPSTAT_NSIGS = 7, /* new signatures */ |
27 |
GPG_IMPSTAT_NREV = 8, /* new revocation certs */ |
28 |
GPG_IMPSTAT_NSKEYS = 9, /* new secret keys */ |
29 |
GPG_IMPSTAT_ISKEYS = 10 /* imported secret keys */ |
30 |
} gpg_import_status_t; |
31 |
|
32 |
|
33 |
BOOL CALLBACK import_status_dlg_proc (HWND dlg, |
34 |
UINT msg, |
35 |
WPARAM wparam, |
36 |
LPARAM lparam); |
37 |
|
38 |
int print_import_status (gpgme_import_result_t res); |
39 |
|
40 |
#endif /*WPT_IMPORT_H*/ |