aboutsummaryrefslogtreecommitdiff
path: root/src/zonemaster
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
commit9ef4abad615bea12d13be542b8ae5fbeb2dfee32 (patch)
tree8875a687e004d331c9ea6a1d511a328c72b88113 /src/zonemaster
parente95236b3ed78cd597c15f34b89385295702b627f (diff)
downloadgnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.tar.gz
gnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.zip
NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/
This also includes a necessary API refactoring of crypto from IDENTITY to UTIL.
Diffstat (limited to 'src/zonemaster')
-rw-r--r--src/zonemaster/Makefile.am4
-rw-r--r--src/zonemaster/gnunet-service-zonemaster.c10
2 files changed, 7 insertions, 7 deletions
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 = \
22 gnunet-service-zonemaster.c 22 gnunet-service-zonemaster.c
23gnunet_service_zonemaster_LDADD = \ 23gnunet_service_zonemaster_LDADD = \
24 $(top_builddir)/src/dht/libgnunetdht.la \ 24 $(top_builddir)/src/dht/libgnunetdht.la \
25 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ 25 $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \
26 $(top_builddir)/src/identity/libgnunetidentity.la \ 26 $(top_builddir)/src/identity/libgnunetidentity.la \
27 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 27 $(top_builddir)/src/statistics/libgnunetstatistics.la \
28 $(top_builddir)/src/util/libgnunetutil.la \ 28 $(top_builddir)/src/lib/util/libgnunetutil.la \
29 $(top_builddir)/src/namestore/libgnunetnamestore.la \ 29 $(top_builddir)/src/namestore/libgnunetnamestore.la \
30 $(top_builddir)/src/namecache/libgnunetnamecache.la \ 30 $(top_builddir)/src/namecache/libgnunetnamecache.la \
31 $(GN_LIBINTL) \ 31 $(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
146 /** 146 /**
147 * The zone key to sign the block with 147 * The zone key to sign the block with
148 */ 148 */
149 struct GNUNET_IDENTITY_PrivateKey zone; 149 struct GNUNET_CRYPTO_PrivateKey zone;
150 150
151 /** 151 /**
152 * The block to sign 152 * The block to sign
@@ -809,7 +809,7 @@ dht_put_continuation (void *cls)
809 * @return DHT PUT handle, NULL on error 809 * @return DHT PUT handle, NULL on error
810 */ 810 */
811static void 811static void
812dispatch_job (const struct GNUNET_IDENTITY_PrivateKey *key, 812dispatch_job (const struct GNUNET_CRYPTO_PrivateKey *key,
813 const char *label, 813 const char *label,
814 const struct GNUNET_GNSRECORD_Data *rd, 814 const struct GNUNET_GNSRECORD_Data *rd,
815 unsigned int rd_count, 815 unsigned int rd_count,
@@ -1036,7 +1036,7 @@ zone_iteration_finished (void *cls)
1036 */ 1036 */
1037static void 1037static void
1038handle_record (void *cls, 1038handle_record (void *cls,
1039 const struct GNUNET_IDENTITY_PrivateKey *key, 1039 const struct GNUNET_CRYPTO_PrivateKey *key,
1040 const char *label, 1040 const char *label,
1041 unsigned int rd_count, 1041 unsigned int rd_count,
1042 const struct GNUNET_GNSRECORD_Data *rd, 1042 const struct GNUNET_GNSRECORD_Data *rd,
@@ -1123,7 +1123,7 @@ publish_zone_dht_start (void *cls)
1123 * @param rd_public_count number of records in @a rd_public 1123 * @param rd_public_count number of records in @a rd_public
1124 */ 1124 */
1125static void 1125static void
1126dispatch_job_monitor (const struct GNUNET_IDENTITY_PrivateKey *key, 1126dispatch_job_monitor (const struct GNUNET_CRYPTO_PrivateKey *key,
1127 const char *label, 1127 const char *label,
1128 const struct GNUNET_GNSRECORD_Data *rd, 1128 const struct GNUNET_GNSRECORD_Data *rd,
1129 unsigned int rd_count, 1129 unsigned int rd_count,
@@ -1201,7 +1201,7 @@ dispatch_job_monitor (const struct GNUNET_IDENTITY_PrivateKey *key,
1201 */ 1201 */
1202static void 1202static void
1203handle_monitor_event (void *cls, 1203handle_monitor_event (void *cls,
1204 const struct GNUNET_IDENTITY_PrivateKey *zone, 1204 const struct GNUNET_CRYPTO_PrivateKey *zone,
1205 const char *label, 1205 const char *label,
1206 unsigned int rd_count, 1206 unsigned int rd_count,
1207 const struct GNUNET_GNSRECORD_Data *rd, 1207 const struct GNUNET_GNSRECORD_Data *rd,