aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dv_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-13 13:00:14 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-13 13:00:14 +0000
commit5e900316b0b70bb65f573d0ad110f3d93551b11b (patch)
treee78e9d55d8c5da7272acc472c2e8441458e6f84c /src/include/gnunet_dv_service.h
parent280ca97ba6c2df197a0e6a3ca5b6cb9da0df9ec2 (diff)
downloadgnunet-5e900316b0b70bb65f573d0ad110f3d93551b11b.tar.gz
gnunet-5e900316b0b70bb65f573d0ad110f3d93551b11b.zip
use enum GNUNET_ATS_Network_Type instead of uint32_t where appropriate
Diffstat (limited to 'src/include/gnunet_dv_service.h')
-rw-r--r--src/include/gnunet_dv_service.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_dv_service.h b/src/include/gnunet_dv_service.h
index 8ea9b1027..98648f84c 100644
--- a/src/include/gnunet_dv_service.h
+++ b/src/include/gnunet_dv_service.h
@@ -27,7 +27,7 @@
27#define GNUNET_SERVICE_DV_H 27#define GNUNET_SERVICE_DV_H
28 28
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30 30#include "gnunet_ats_service.h"
31 31
32/** 32/**
33 * Signature of a function to be called if DV 33 * Signature of a function to be called if DV
@@ -41,7 +41,7 @@
41typedef void (*GNUNET_DV_ConnectCallback)(void *cls, 41typedef void (*GNUNET_DV_ConnectCallback)(void *cls,
42 const struct GNUNET_PeerIdentity *peer, 42 const struct GNUNET_PeerIdentity *peer,
43 uint32_t distance, 43 uint32_t distance,
44 uint32_t network); 44 enum GNUNET_ATS_Network_Type network);
45 45
46 46
47/** 47/**
@@ -56,7 +56,7 @@ typedef void (*GNUNET_DV_ConnectCallback)(void *cls,
56typedef void (*GNUNET_DV_DistanceChangedCallback)(void *cls, 56typedef void (*GNUNET_DV_DistanceChangedCallback)(void *cls,
57 const struct GNUNET_PeerIdentity *peer, 57 const struct GNUNET_PeerIdentity *peer,
58 uint32_t distance, 58 uint32_t distance,
59 uint32_t network); 59 enum GNUNET_ATS_Network_Type network);
60 60
61 61
62/** 62/**