convert fs publish to MQ
[oweals/gnunet.git] / src / include / block_dns.h
index 928a9512639e9c6026c9a9059bcfe8f5fdf83fe6..3e2c9e1fc8cc94956287119ad3ec14415aa56ec7 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2013 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
 
      You should have received a copy of the GNU General Public License
      along with GNUnet; see the file COPYING.  If not, write to the
-     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
+     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+     Boston, MA 02110-1301, USA.
 */
 
 /**
- * @file include/block_dns.h
  * @author Christian Grothoff
+ *
+ * @file
+ * DNS network structs
+ *
+ * @defgroup block-dns  DNS Service network protocol definitions
+ * @{
  */
 #ifndef BLOCK_DNS_H
 #define BLOCK_DNS_H
@@ -37,7 +42,7 @@ struct GNUNET_DNS_Advertisement
   /**
    * Signature of the peer affirming that he is offering the service.
    */
-  struct GNUNET_CRYPTO_EccSignature signature;
+  struct GNUNET_CRYPTO_EddsaSignature signature;
 
   /**
    * Beginning of signed portion of the record, signs everything until
@@ -53,9 +58,11 @@ struct GNUNET_DNS_Advertisement
   /**
    * The peer providing this service
    */
-  struct GNUNET_CRYPTO_EccPublicSignKey peer;
+  struct GNUNET_PeerIdentity peer;
 
 };
 GNUNET_NETWORK_STRUCT_END
 
 #endif
+
+/** @} */  /* end of group */