-document new API
[oweals/gnunet.git] / src / include / gnunet_datastore_plugin.h
index 7e5344ebfbc9b5069baa3a1c833dea07d5f6e522..71c69ffaf4910881692fde2c8f6404f4a5e73850 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet
-     Copyright (C) 2009, 2011 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009, 2011 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
@@ -24,7 +24,7 @@
  * @file
  * API for the database backend plugins.
  *
- * @defgroup datastore-plugin  Datastore service plugin API
+ * @defgroup datastore-plugin  Data Store service plugin API
  * API for the database backend plugins.
  * @{
  */
@@ -161,7 +161,8 @@ typedef void
  * @param cont_cls continuation closure for @a cont
  */
 typedef void
-(*PluginPut) (void *cls, const struct GNUNET_HashCode *key,
+(*PluginPut) (void *cls,
+              const struct GNUNET_HashCode *key,
              uint32_t size,
              const void *data,
              enum GNUNET_BLOCK_Type type,
@@ -195,7 +196,8 @@ typedef void
  */
 typedef void
 (*PluginGetKeys) (void *cls,
-                 PluginKeyProcessor proc, void *proc_cls);
+                 PluginKeyProcessor proc,
+                  void *proc_cls);
 
 
 /**
@@ -246,7 +248,7 @@ typedef void
  * Update continuation.
  *
  * @param cls closure
- * @param status #GNUNET_OK or #GNUNET_SYSERROR
+ * @param status #GNUNET_OK or #GNUNET_SYSERR
  * @param msg error message on error
  */
 typedef void
@@ -389,6 +391,6 @@ struct GNUNET_DATASTORE_PluginFunctions
 
 };
 
-/** @} */  /* end of group */
-
 #endif
+
+/** @} */  /* end of group */