-indentation, code cleanup
[oweals/gnunet.git] / src / gns / gns_api.c
index 75c2f95301cecb05366b23f521f18d5b3e295216..95c2d54b3c1d2ad3c8c5ceddfc06bf6e771f72d8 100644 (file)
@@ -366,7 +366,7 @@ process_lookup_reply (struct GNUNET_GNS_LookupRequest *qe,
   struct GNUNET_GNS_Handle *handle = qe->gns_handle;
   struct PendingMessage *p = (struct PendingMessage *) &qe[1];
   uint32_t rd_count = ntohl (msg->rd_count);
-  struct GNUNET_NAMESTORE_RecordData rd[rd_count];
+  struct GNUNET_GNSRECORD_Data rd[rd_count];
   size_t mlen;
 
   if (GNUNET_YES != p->transmitted)
@@ -378,7 +378,7 @@ process_lookup_reply (struct GNUNET_GNS_LookupRequest *qe,
   }
   mlen = ntohs (msg->header.size);
   mlen -= sizeof (struct GNUNET_GNS_ClientLookupResultMessage);
-  if (GNUNET_SYSERR == GNUNET_NAMESTORE_records_deserialize (mlen,
+  if (GNUNET_SYSERR == GNUNET_GNSRECORD_records_deserialize (mlen,
                                                              (const char*) &msg[1],
                                                              rd_count,
                                                              rd))
@@ -527,10 +527,10 @@ GNUNET_GNS_lookup_cancel (struct GNUNET_GNS_LookupRequest *lr)
 struct GNUNET_GNS_LookupRequest*
 GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,
                   const char *name,
-                  const struct GNUNET_CRYPTO_EccPublicSignKey *zone,
+                  const struct GNUNET_CRYPTO_EcdsaPublicKey *zone,
                   int type,
                   int only_cached,
-                  const struct GNUNET_CRYPTO_EccPrivateKey *shorten_zone_key,
+                  const struct GNUNET_CRYPTO_EcdsaPrivateKey *shorten_zone_key,
                   GNUNET_GNS_LookupResultProcessor proc,
                   void *proc_cls)
 {