convert fs publish to MQ
[oweals/gnunet.git] / src / include / gnunet_dv_service.h
index 8ea9b10277216be610e08feaf1db405b201e797f..248e373dc3b6dda573f88de4931928e1ee50b682 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.
 */
 
 /**
  * @author Christian Grothoff
- * @file include/gnunet_dv_service.h
- * @brief DV service API (should only be used by the DV plugin)
+ *
+ * @file
+ * DV service API (should only be used by the DV plugin)
+ *
+ * @defgroup dv  DV service
+ * Distance Vector routing
+ *
+ * The DV service API should only be used by the DV plugin.
+ * @{
  */
 #ifndef GNUNET_SERVICE_DV_H
 #define GNUNET_SERVICE_DV_H
 
 #include "gnunet_util_lib.h"
-
+#include "gnunet_ats_service.h"
 
 /**
  * Signature of a function to be called if DV
@@ -41,7 +48,7 @@
 typedef void (*GNUNET_DV_ConnectCallback)(void *cls,
                                          const struct GNUNET_PeerIdentity *peer,
                                          uint32_t distance,
-                                          uint32_t network);
+                                          enum GNUNET_ATS_Network_Type network);
 
 
 /**
@@ -56,7 +63,7 @@ typedef void (*GNUNET_DV_ConnectCallback)(void *cls,
 typedef void (*GNUNET_DV_DistanceChangedCallback)(void *cls,
                                                  const struct GNUNET_PeerIdentity *peer,
                                                  uint32_t distance,
-                                                  uint32_t network);
+                                                  enum GNUNET_ATS_Network_Type network);
 
 
 /**
@@ -167,3 +174,5 @@ GNUNET_DV_send_cancel (struct GNUNET_DV_TransmitHandle *th);
 
 
 #endif
+
+/** @} */  /* end of group */