client_manager: add API for async operations
[oweals/gnunet.git] / src / include / gnunet_dv_service.h
index 8ea9b10277216be610e08feaf1db405b201e797f..7deec28338c0a09bad36ed08a48df43537322039 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2013 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -27,7 +27,7 @@
 #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 +41,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 +56,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);
 
 
 /**