projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use GNU printf format
[oweals/gnunet.git]
/
src
/
include
/
gnunet_namecache_plugin.h
diff --git
a/src/include/gnunet_namecache_plugin.h
b/src/include/gnunet_namecache_plugin.h
index 0955d110c6e38ddb111d889a8c06b4430365094e..fd28e6f9dbf463a688e0f51cc0dcd8db38e3fd01 100644
(file)
--- a/
src/include/gnunet_namecache_plugin.h
+++ b/
src/include/gnunet_namecache_plugin.h
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet
/*
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
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
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., 5
9 Temple Place - Suite 330
,
- Boston, MA 0211
1-1307
, USA.
+ Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+ Boston, MA 0211
0-1301
, USA.
*/
/**
*/
/**
- * @file include/gnunet_namecache_plugin.h
- * @brief plugin API for the namecache database backend
* @author Christian Grothoff
* @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
*/
#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,
* @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,
* @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
}
#endif
-/* end of gnunet_namecache_plugin.h */
#endif
#endif
+
+/** @} */ /* end of group */