From 9ef4abad615bea12d13be542b8ae5fbeb2dfee32 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 18 Oct 2023 13:37:38 +0200 Subject: NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/ This also includes a necessary API refactoring of crypto from IDENTITY to UTIL. --- src/zonemaster/Makefile.am | 4 ++-- src/zonemaster/gnunet-service-zonemaster.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/zonemaster') diff --git a/src/zonemaster/Makefile.am b/src/zonemaster/Makefile.am index 635c195ed..3a3b150e2 100644 --- a/src/zonemaster/Makefile.am +++ b/src/zonemaster/Makefile.am @@ -22,10 +22,10 @@ gnunet_service_zonemaster_SOURCES = \ gnunet-service-zonemaster.c gnunet_service_zonemaster_LDADD = \ $(top_builddir)/src/dht/libgnunetdht.la \ - $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ + $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ $(top_builddir)/src/identity/libgnunetidentity.la \ $(top_builddir)/src/statistics/libgnunetstatistics.la \ - $(top_builddir)/src/util/libgnunetutil.la \ + $(top_builddir)/src/lib/util/libgnunetutil.la \ $(top_builddir)/src/namestore/libgnunetnamestore.la \ $(top_builddir)/src/namecache/libgnunetnamecache.la \ $(GN_LIBINTL) \ diff --git a/src/zonemaster/gnunet-service-zonemaster.c b/src/zonemaster/gnunet-service-zonemaster.c index a4eb13004..7c763576d 100644 --- a/src/zonemaster/gnunet-service-zonemaster.c +++ b/src/zonemaster/gnunet-service-zonemaster.c @@ -146,7 +146,7 @@ struct RecordPublicationJob /** * The zone key to sign the block with */ - struct GNUNET_IDENTITY_PrivateKey zone; + struct GNUNET_CRYPTO_PrivateKey zone; /** * The block to sign @@ -809,7 +809,7 @@ dht_put_continuation (void *cls) * @return DHT PUT handle, NULL on error */ static void -dispatch_job (const struct GNUNET_IDENTITY_PrivateKey *key, +dispatch_job (const struct GNUNET_CRYPTO_PrivateKey *key, const char *label, const struct GNUNET_GNSRECORD_Data *rd, unsigned int rd_count, @@ -1036,7 +1036,7 @@ zone_iteration_finished (void *cls) */ static void handle_record (void *cls, - const struct GNUNET_IDENTITY_PrivateKey *key, + const struct GNUNET_CRYPTO_PrivateKey *key, const char *label, unsigned int rd_count, const struct GNUNET_GNSRECORD_Data *rd, @@ -1123,7 +1123,7 @@ publish_zone_dht_start (void *cls) * @param rd_public_count number of records in @a rd_public */ static void -dispatch_job_monitor (const struct GNUNET_IDENTITY_PrivateKey *key, +dispatch_job_monitor (const struct GNUNET_CRYPTO_PrivateKey *key, const char *label, const struct GNUNET_GNSRECORD_Data *rd, unsigned int rd_count, @@ -1201,7 +1201,7 @@ dispatch_job_monitor (const struct GNUNET_IDENTITY_PrivateKey *key, */ static void handle_monitor_event (void *cls, - const struct GNUNET_IDENTITY_PrivateKey *zone, + const struct GNUNET_CRYPTO_PrivateKey *zone, const char *label, unsigned int rd_count, const struct GNUNET_GNSRECORD_Data *rd, -- cgit v1.2.3