aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns.c
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/gns/gnunet-service-gns.c
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/gns/gnunet-service-gns.c')
-rw-r--r--src/gns/gnunet-service-gns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index fc8de860d..aaf82a557 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -122,7 +122,7 @@ struct GNS_TopLevelDomain
122 /** 122 /**
123 * Public key associated with the @a tld. 123 * Public key associated with the @a tld.
124 */ 124 */
125 struct GNUNET_IDENTITY_PublicKey pkey; 125 struct GNUNET_CRYPTO_PublicKey pkey;
126 126
127 /** 127 /**
128 * Top-level domain as a string, including leading ".". 128 * Top-level domain as a string, including leading ".".
@@ -176,7 +176,7 @@ static struct GNS_TopLevelDomain *tld_tail;
176 */ 176 */
177int 177int
178GNS_find_tld (const char *tld_str, 178GNS_find_tld (const char *tld_str,
179 struct GNUNET_IDENTITY_PublicKey *pkey) 179 struct GNUNET_CRYPTO_PublicKey *pkey)
180{ 180{
181 if ('\0' == *tld_str) 181 if ('\0' == *tld_str)
182 return GNUNET_NO; 182 return GNUNET_NO;
@@ -420,7 +420,7 @@ handle_lookup (void *cls,
420{ 420{
421 struct GnsClient *gc = cls; 421 struct GnsClient *gc = cls;
422 struct ClientLookupHandle *clh; 422 struct ClientLookupHandle *clh;
423 struct GNUNET_IDENTITY_PublicKey zone; 423 struct GNUNET_CRYPTO_PublicKey zone;
424 const char *name; 424 const char *name;
425 size_t key_len; 425 size_t key_len;
426 size_t read; 426 size_t read;
@@ -434,7 +434,7 @@ handle_lookup (void *cls,
434 clh->gc = gc; 434 clh->gc = gc;
435 clh->request_id = sh_msg->id; 435 clh->request_id = sh_msg->id;
436 if ((GNUNET_SYSERR == 436 if ((GNUNET_SYSERR ==
437 GNUNET_IDENTITY_read_public_key_from_buffer (&sh_msg[1], 437 GNUNET_CRYPTO_read_public_key_from_buffer (&sh_msg[1],
438 key_len, 438 key_len,
439 &zone, 439 &zone,
440 &read)) || 440 &read)) ||
@@ -498,7 +498,7 @@ read_service_conf (void *cls,
498 const char *option, 498 const char *option,
499 const char *value) 499 const char *value)
500{ 500{
501 struct GNUNET_IDENTITY_PublicKey pk; 501 struct GNUNET_CRYPTO_PublicKey pk;
502 struct GNS_TopLevelDomain *tld; 502 struct GNS_TopLevelDomain *tld;
503 503
504 (void) cls; 504 (void) cls;