RECLAIM/OIDC: code cleanup
[oweals/gnunet.git] / src / include / gnunet_namecache_plugin.h
index 0955d110c6e38ddb111d889a8c06b4430365094e..5281fd3dc7bb976befc2c97cc7a31c5981774a0d 100644 (file)
@@ -1,27 +1,35 @@
 /*
      This file is part of GNUnet
-     (C) 2012, 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2012, 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
-     by the Free Software Foundation; either version 3, or (at your
-     option) any later version.
+     GNUnet is free software: you can redistribute it and/or modify it
+     under the terms of the GNU Affero General Public License as published
+     by the Free Software Foundation, either version 3 of the License,
+     or (at your option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-     General Public License for more details.
+     Affero General Public License for more details.
+    
+     You should have received a copy of the GNU Affero General Public License
+     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-     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.
+     SPDX-License-Identifier: AGPL3.0-or-later
 */
 
 /**
- * @file include/gnunet_namecache_plugin.h
- * @brief plugin API for the namecache database backend
  * @author Christian Grothoff
+ *
+ * @file
+ * Plugin API for the namecache database backend
+ *
+ * @defgroup namecache-plugin  Name Cache service plugin API
+ * Plugin API for the namecache database backend.
+ *
+ * @see [Documentation](https://gnunet.org/namecache-plugin-api)
+ *
+ * @{
  */
 #ifndef GNUNET_NAMECACHE_PLUGIN_H
 #define GNUNET_NAMECACHE_PLUGIN_H
@@ -46,7 +54,7 @@ extern "C"
  * @param block lookup result
  */
 typedef void (*GNUNET_NAMECACHE_BlockCallback) (void *cls,
-                                               const struct GNUNET_NAMESTORE_Block *block);
+                                               const struct GNUNET_GNSRECORD_Block *block);
 
 
 /**
@@ -69,7 +77,7 @@ struct GNUNET_NAMECACHE_PluginFunctions
    * @return #GNUNET_OK on success, else #GNUNET_SYSERR
    */
   int (*cache_block) (void *cls,
-                     const struct GNUNET_NAMESTORE_Block *block);
+                     const struct GNUNET_GNSRECORD_Block *block);
 
 
   /**
@@ -97,5 +105,6 @@ struct GNUNET_NAMECACHE_PluginFunctions
 }
 #endif
 
-/* end of gnunet_namecache_plugin.h */
 #endif
+
+/** @} */  /* end of group */