diff options
author | jospaeth <spaethj@in.tum.de> | 2020-09-07 17:18:10 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-09-07 17:18:10 +0200 |
commit | d391974aeba2f6778e701db32029404d286d3b4e (patch) | |
tree | 4416ae6322988977195d2ad15cb5b1c648f12394 /src/escrow/escrow_plugin_helper.h | |
parent | e12cdc513908ed0cf5acc73b7576a6ecbc9669ad (diff) | |
download | gnunet-d391974aeba2f6778e701db32029404d286d3b4e.tar.gz gnunet-d391974aeba2f6778e701db32029404d286d3b4e.zip |
fix includes, don't depend on "../identity/identity.h"
Diffstat (limited to 'src/escrow/escrow_plugin_helper.h')
-rw-r--r-- | src/escrow/escrow_plugin_helper.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/escrow/escrow_plugin_helper.h b/src/escrow/escrow_plugin_helper.h index b7764edd5..d911800e6 100644 --- a/src/escrow/escrow_plugin_helper.h +++ b/src/escrow/escrow_plugin_helper.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | #include "gnunet_identity_service.h" | 30 | #include "gnunet_identity_service.h" |
31 | #include "gnunet_escrow_plugin.h" | 31 | #include "gnunet_escrow_plugin.h" |
32 | #include "escrow.h" | ||
32 | 33 | ||
33 | 34 | ||
34 | /** | 35 | /** |
@@ -82,6 +83,23 @@ ESCROW_cleanup_ego_list (struct ESCROW_PluginHandle *ph); | |||
82 | 83 | ||
83 | 84 | ||
84 | /** | 85 | /** |
86 | * Build an anchor struct. | ||
87 | * | ||
88 | * @param method escrow method | ||
89 | * @param egoName name of the ego | ||
90 | * @param data anchor data | ||
91 | * @param data_size size of the anchor data | ||
92 | * | ||
93 | * @return a new anchor struct | ||
94 | */ | ||
95 | struct GNUNET_ESCROW_Anchor * | ||
96 | ESCROW_build_anchor (enum GNUNET_ESCROW_Key_Escrow_Method method, | ||
97 | const char *egoName, | ||
98 | void *data, | ||
99 | uint32_t data_size); | ||
100 | |||
101 | |||
102 | /** | ||
85 | * Update the status of an escrow in the configuration after a VERIFY operation. | 103 | * Update the status of an escrow in the configuration after a VERIFY operation. |
86 | * | 104 | * |
87 | * @param h handle for the escrow component | 105 | * @param h handle for the escrow component |