diff options
author | jospaeth <spaethj@in.tum.de> | 2020-07-05 13:06:14 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-07-09 14:56:09 +0200 |
commit | eeb3610df1d4f102e60abf20d22a3febc0f9b273 (patch) | |
tree | 566a1cc8d4d14e43c6001265185f6118f0af5bfd /src/include/gnunet_escrow_lib.h | |
parent | c9ea27bc037eeae5ee39b05cd11b06e48399fb43 (diff) | |
download | gnunet-eeb3610df1d4f102e60abf20d22a3febc0f9b273.tar.gz gnunet-eeb3610df1d4f102e60abf20d22a3febc0f9b273.zip |
create escrow component
Diffstat (limited to 'src/include/gnunet_escrow_lib.h')
-rw-r--r-- | src/include/gnunet_escrow_lib.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/include/gnunet_escrow_lib.h b/src/include/gnunet_escrow_lib.h new file mode 100644 index 000000000..3881243af --- /dev/null +++ b/src/include/gnunet_escrow_lib.h | |||
@@ -0,0 +1,66 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | Copyright (C) 2017 GNUnet e.V. | ||
4 | |||
5 | GNUnet is free software: you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Affero General Public License as published | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @author Johannes Späth | ||
23 | * | ||
24 | * @file | ||
25 | * Escrow definitions | ||
26 | * | ||
27 | * @defgroup escrow escrow component | ||
28 | * @{ | ||
29 | */ | ||
30 | #ifndef GNUNET_ESCROW_LIB_H | ||
31 | #define GNUNET_ESCROW_LIB_H | ||
32 | |||
33 | #ifdef __cplusplus | ||
34 | extern "C" { | ||
35 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
36 | } | ||
37 | #endif | ||
38 | #endif | ||
39 | |||
40 | #include "gnunet_util_lib.h" | ||
41 | |||
42 | |||
43 | /** | ||
44 | * Enum for the different key escrow methods | ||
45 | */ | ||
46 | enum GNUNET_RECLAIM_Key_Escrow_Method { | ||
47 | GNUNET_ESCROW_KEY_PLAINTEXT, | ||
48 | GNUNET_ESCROW_KEY_GNS, | ||
49 | GNUNET_ESCROW_KEY_ANASTASIS | ||
50 | }; | ||
51 | |||
52 | |||
53 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
54 | { | ||
55 | #endif | ||
56 | #ifdef __cplusplus | ||
57 | } | ||
58 | #endif | ||
59 | |||
60 | |||
61 | /* ifndef GNUNET_ESCROW_LIB_H */ | ||
62 | #endif | ||
63 | |||
64 | /** @} */ /* end of group escrow */ | ||
65 | |||
66 | /* end of gnunet_escrow_lib.h */ | ||