From 2f20415d075a69198ede195e800b3cfc56a94f90 Mon Sep 17 00:00:00 2001 From: jospaeth Date: Wed, 15 Jul 2020 17:49:00 +0200 Subject: fix static, fix method names --- src/escrow/escrow_plugin_helper.c | 8 ++++---- src/escrow/escrow_plugin_helper.h | 8 ++++---- src/escrow/plugin_escrow_anastasis.c | 4 ++-- src/escrow/plugin_escrow_gns.c | 4 ++-- src/escrow/plugin_escrow_plaintext.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/escrow') 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 @@ * NULL if the user just deleted the ego and it * must thus no longer be used */ -static void -GNUNET_ESCROW_list_ego (void *cls, +void +ESCROW_list_ego (void *cls, struct GNUNET_IDENTITY_Ego *ego, void **ctx, const char *identifier) @@ -151,8 +151,8 @@ GNUNET_ESCROW_list_ego (void *cls, * * @param ph handle for the plugin */ -static void -GNUNET_ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph) +void +ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph) { struct EgoEntry *ego_entry; 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 @@ * NULL if the user just deleted the ego and it * must thus no longer be used */ -static void -GNUNET_ESCROW_list_ego (void *cls, +void +ESCROW_list_ego (void *cls, struct GNUNET_IDENTITY_Ego *ego, void **ctx, const char *identifier); @@ -77,5 +77,5 @@ GNUNET_ESCROW_list_ego (void *cls, * * @param ph handle for the plugin */ -static void -GNUNET_ESCROW_cleanup_ego_list (struct EscrowPluginHandle *ph); +void +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) ph.cont = &anastasis_cont_init; identity_handle = GNUNET_IDENTITY_connect (cfg, - &GNUNET_ESCROW_list_ego, + &ESCROW_list_ego, &ph); return api; @@ -179,7 +179,7 @@ libgnunet_plugin_escrow_anastasis_done (void *cls) GNUNET_free (api); GNUNET_IDENTITY_disconnect (identity_handle); - GNUNET_ESCROW_cleanup_ego_list (&ph); + ESCROW_cleanup_ego_list (&ph); return NULL; } 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) ph.cont = &gns_cont_init; identity_handle = GNUNET_IDENTITY_connect (cfg, - &GNUNET_ESCROW_list_ego, + &ESCROW_list_ego, &ph); return api; @@ -205,7 +205,7 @@ libgnunet_plugin_escrow_gns_done (void *cls) GNUNET_free (api); GNUNET_IDENTITY_disconnect (identity_handle); - GNUNET_ESCROW_cleanup_ego_list (&ph); + ESCROW_cleanup_ego_list (&ph); return NULL; } 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) ph.cont = &plaintext_cont_init; identity_handle = GNUNET_IDENTITY_connect (cfg, - &GNUNET_ESCROW_list_ego, + &ESCROW_list_ego, &ph); return api; @@ -213,7 +213,7 @@ libgnunet_plugin_escrow_plaintext_done (void *cls) GNUNET_free (api); GNUNET_IDENTITY_disconnect (identity_handle); - GNUNET_ESCROW_cleanup_ego_list (&ph); + ESCROW_cleanup_ego_list (&ph); return NULL; } -- cgit v1.2.3