adding number of preferences to allow iterating over preferences
[oweals/gnunet.git] / src / include / gnunet_namecache_service.h
index 1a71f1ebda3488bad6be8e714ecbf3b71428b5b0..587f6c620ee10fb2bd273128a90b85ec87af25ee 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet
-     (C) 2012, 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2012, 2013 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -107,7 +107,7 @@ typedef void (*GNUNET_NAMECACHE_ContinuationWithStatus) (void *cls,
  */
 struct GNUNET_NAMECACHE_QueueEntry *
 GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h,
-                             const struct GNUNET_NAMESTORE_Block *block,
+                             const struct GNUNET_GNSRECORD_Block *block,
                              GNUNET_NAMECACHE_ContinuationWithStatus cont,
                              void *cont_cls);
 
@@ -119,7 +119,7 @@ GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h,
  * @param block block that was stored in the namecache
  */
 typedef void (*GNUNET_NAMECACHE_BlockProcessor) (void *cls,
-                                                const struct GNUNET_NAMESTORE_Block *block);
+                                                const struct GNUNET_GNSRECORD_Block *block);
 
 
 /**