X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Finclude%2Fgnunet_namecache_plugin.h;h=fd28e6f9dbf463a688e0f51cc0dcd8db38e3fd01;hb=e933b0a58ab7b0f21faef0267c2cb835cabd5a03;hp=0955d110c6e38ddb111d889a8c06b4430365094e;hpb=6308c2556c54ea8a19b33bfe16bd2f81eae65e86;p=oweals%2Fgnunet.git diff --git a/src/include/gnunet_namecache_plugin.h b/src/include/gnunet_namecache_plugin.h index 0955d110c..fd28e6f9d 100644 --- a/src/include/gnunet_namecache_plugin.h +++ b/src/include/gnunet_namecache_plugin.h @@ -1,6 +1,6 @@ /* 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 @@ -14,14 +14,22 @@ 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/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 */