1 /* status.h - Status codes
2 * Copyright (C) 2007 Free Software Foundation, Inc.
4 * This file is part of GnuPG.
6 * GnuPG is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * GnuPG 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
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef GNUPG_COMMON_STATUS_H
21 #define GNUPG_COMMON_STATUS_H
37 STATUS_TRUST_UNDEFINED
,
39 STATUS_TRUST_MARGINAL
,
41 STATUS_TRUST_ULTIMATE
,
43 STATUS_NEED_PASSPHRASE
,
48 STATUS_BAD_PASSPHRASE
,
51 STATUS_NEED_PASSPHRASE_SYM
,
52 STATUS_DECRYPTION_FAILED
,
53 STATUS_DECRYPTION_OKAY
,
54 STATUS_MISSING_PASSPHRASE
,
55 STATUS_GOOD_PASSPHRASE
,
61 STATUS_IMPORT_PROBLEM
,
69 STATUS_BEGIN_DECRYPTION
,
70 STATUS_END_DECRYPTION
,
71 STATUS_BEGIN_ENCRYPTION
,
72 STATUS_END_ENCRYPTION
,
75 STATUS_DELETE_PROBLEM
,
96 STATUS_ALREADY_SIGNED
,
108 STATUS_SIG_SUBPACKET
,
111 STATUS_PLAINTEXT_LENGTH
,
112 STATUS_KEY_NOT_CREATED
,
113 STATUS_NEED_PASSPHRASE_PIN
,
116 STATUS_SC_OP_FAILURE
,
117 STATUS_SC_OP_SUCCESS
,
119 STATUS_BACKUP_KEY_CREATED
,
121 STATUS_PKA_TRUST_BAD
,
122 STATUS_PKA_TRUST_GOOD
,
129 const char *get_status_string (int code
);
132 #endif /*GNUPG_COMMON_STATUS_H*/