diff options
author | jospaeth <spaethj@in.tum.de> | 2020-07-15 17:49:00 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-07-15 17:49:00 +0200 |
commit | 2f20415d075a69198ede195e800b3cfc56a94f90 (patch) | |
tree | d01eabde05a8114cbb7d2df7922cb9529fe241e0 /src/escrow | |
parent | 3192c1c84a8cf6aa81e55ac647adf125cbd88904 (diff) | |
download | gnunet-2f20415d075a69198ede195e800b3cfc56a94f90.tar.gz gnunet-2f20415d075a69198ede195e800b3cfc56a94f90.zip |
fix static, fix method names
Diffstat (limited to 'src/escrow')
-rw-r--r-- | src/escrow/escrow_plugin_helper.c | 8 | ||||
-rw-r--r-- | src/escrow/escrow_plugin_helper.h | 8 | ||||
-rw-r--r-- | src/escrow/plugin_escrow_anastasis.c | 4 | ||||
-rw-r--r-- | src/escrow/plugin_escrow_gns.c | 4 | ||||
-rw-r--r-- | src/escrow/plugin_escrow_plaintext.c | 4 |
5 files changed, 14 insertions, 14 deletions
diff --git a/src/escrow/escrow_plugin_helper.c b/src/escrow/escrow_plugin_helper.c index 15260f639..1869e23db 100644 --- a/src/escrow/escrow_plugin_helper.c +++ b/src/escrow/escrow_plugin_helper.c | |||
@@ -65,8 +65,8 @@ | |||
65 | * NULL if the user just deleted the ego and it | 65 | * NULL if the user just deleted the ego and it |
66 | * must thus no longer be used | 66 | * must thus no longer be used |
67 | */ | 67 | */ |
68 | static void | 68 | void |
69 | GNUNET_ESCROW_list_ego (void *cls, | 69 | ESCROW_list_ego (void *cls, |
70 | struct GNUNET_IDENTITY_Ego *ego, | 70 | struct GNUNET_IDENTITY_Ego *ego, |
71 | void **ctx, | 71 | void **ctx, |
72 | const char *identifier) | 72 | const char *identifier) |
@@ -151,8 +151,8 @@ GNUNET_ESCROW_list_ego (void *cls, | |||
151 | * | 151 | * |
152 | * @param ph handle for the plugin | 152 | * @param ph handle for the plugin |
153 | */ | 153 | */ |
154 | static void | 154 | void |
155 | GNUNET_ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph) | 155 | ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph) |
156 | { | 156 | { |
157 | struct EgoEntry *ego_entry; | 157 | struct EgoEntry *ego_entry; |
158 | 158 | ||
diff --git a/src/escrow/escrow_plugin_helper.h b/src/escrow/escrow_plugin_helper.h index 08f024b05..96910ad6a 100644 --- a/src/escrow/escrow_plugin_helper.h +++ b/src/escrow/escrow_plugin_helper.h | |||
@@ -65,8 +65,8 @@ | |||
65 | * NULL if the user just deleted the ego and it | 65 | * NULL if the user just deleted the ego and it |
66 | * must thus no longer be used | 66 | * must thus no longer be used |
67 | */ | 67 | */ |
68 | static void | 68 | void |
69 | GNUNET_ESCROW_list_ego (void *cls, | 69 | ESCROW_list_ego (void *cls, |
70 | struct GNUNET_IDENTITY_Ego *ego, | 70 | struct GNUNET_IDENTITY_Ego *ego, |
71 | void **ctx, | 71 | void **ctx, |
72 | const char *identifier); | 72 | const char *identifier); |
@@ -77,5 +77,5 @@ GNUNET_ESCROW_list_ego (void *cls, | |||
77 | * | 77 | * |
78 | * @param ph handle for the plugin | 78 | * @param ph handle for the plugin |
79 | */ | 79 | */ |
80 | static void | 80 | void |
81 | GNUNET_ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph); | 81 | ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph); |
diff --git a/src/escrow/plugin_escrow_anastasis.c b/src/escrow/plugin_escrow_anastasis.c index 8c4ff5134..c92bb3682 100644 --- a/src/escrow/plugin_escrow_anastasis.c +++ b/src/escrow/plugin_escrow_anastasis.c | |||
@@ -159,7 +159,7 @@ libgnunet_plugin_escrow_anastasis_init (void *cls) | |||
159 | ph.cont = &anastasis_cont_init; | 159 | ph.cont = &anastasis_cont_init; |
160 | 160 | ||
161 | identity_handle = GNUNET_IDENTITY_connect (cfg, | 161 | identity_handle = GNUNET_IDENTITY_connect (cfg, |
162 | &GNUNET_ESCROW_list_ego, | 162 | &ESCROW_list_ego, |
163 | &ph); | 163 | &ph); |
164 | 164 | ||
165 | return api; | 165 | return api; |
@@ -179,7 +179,7 @@ libgnunet_plugin_escrow_anastasis_done (void *cls) | |||
179 | 179 | ||
180 | GNUNET_free (api); | 180 | GNUNET_free (api); |
181 | GNUNET_IDENTITY_disconnect (identity_handle); | 181 | GNUNET_IDENTITY_disconnect (identity_handle); |
182 | GNUNET_ESCROW_cleanup_ego_list (&ph); | 182 | ESCROW_cleanup_ego_list (&ph); |
183 | 183 | ||
184 | return NULL; | 184 | return NULL; |
185 | } | 185 | } |
diff --git a/src/escrow/plugin_escrow_gns.c b/src/escrow/plugin_escrow_gns.c index 04a6984e2..f8e509651 100644 --- a/src/escrow/plugin_escrow_gns.c +++ b/src/escrow/plugin_escrow_gns.c | |||
@@ -185,7 +185,7 @@ libgnunet_plugin_escrow_gns_init (void *cls) | |||
185 | ph.cont = &gns_cont_init; | 185 | ph.cont = &gns_cont_init; |
186 | 186 | ||
187 | identity_handle = GNUNET_IDENTITY_connect (cfg, | 187 | identity_handle = GNUNET_IDENTITY_connect (cfg, |
188 | &GNUNET_ESCROW_list_ego, | 188 | &ESCROW_list_ego, |
189 | &ph); | 189 | &ph); |
190 | 190 | ||
191 | return api; | 191 | return api; |
@@ -205,7 +205,7 @@ libgnunet_plugin_escrow_gns_done (void *cls) | |||
205 | 205 | ||
206 | GNUNET_free (api); | 206 | GNUNET_free (api); |
207 | GNUNET_IDENTITY_disconnect (identity_handle); | 207 | GNUNET_IDENTITY_disconnect (identity_handle); |
208 | GNUNET_ESCROW_cleanup_ego_list (&ph); | 208 | ESCROW_cleanup_ego_list (&ph); |
209 | 209 | ||
210 | return NULL; | 210 | return NULL; |
211 | } | 211 | } |
diff --git a/src/escrow/plugin_escrow_plaintext.c b/src/escrow/plugin_escrow_plaintext.c index 2213b334c..3d15167b9 100644 --- a/src/escrow/plugin_escrow_plaintext.c +++ b/src/escrow/plugin_escrow_plaintext.c | |||
@@ -193,7 +193,7 @@ libgnunet_plugin_escrow_plaintext_init (void *cls) | |||
193 | ph.cont = &plaintext_cont_init; | 193 | ph.cont = &plaintext_cont_init; |
194 | 194 | ||
195 | identity_handle = GNUNET_IDENTITY_connect (cfg, | 195 | identity_handle = GNUNET_IDENTITY_connect (cfg, |
196 | &GNUNET_ESCROW_list_ego, | 196 | &ESCROW_list_ego, |
197 | &ph); | 197 | &ph); |
198 | 198 | ||
199 | return api; | 199 | return api; |
@@ -213,7 +213,7 @@ libgnunet_plugin_escrow_plaintext_done (void *cls) | |||
213 | 213 | ||
214 | GNUNET_free (api); | 214 | GNUNET_free (api); |
215 | GNUNET_IDENTITY_disconnect (identity_handle); | 215 | GNUNET_IDENTITY_disconnect (identity_handle); |
216 | GNUNET_ESCROW_cleanup_ego_list (&ph); | 216 | ESCROW_cleanup_ego_list (&ph); |
217 | 217 | ||
218 | return NULL; | 218 | return NULL; |
219 | } | 219 | } |