aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-06 09:28:57 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-06 09:28:57 +0000
commit66d788dbe9224b7d3e51ad60d2a29a167b2e348d (patch)
treedd1737e137f070c01ef42800c4fe625f526d0214 /src/include/gnunet_ats_service.h
parent170d5baeece2def099112c6a25287a95d2b28899 (diff)
downloadgnunet-66d788dbe9224b7d3e51ad60d2a29a167b2e348d.tar.gz
gnunet-66d788dbe9224b7d3e51ad60d2a29a167b2e348d.zip
get rid of stupid network[i]=i array
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r--src/include/gnunet_ats_service.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h
index 63c560487..e4070c40f 100644
--- a/src/include/gnunet_ats_service.h
+++ b/src/include/gnunet_ats_service.h
@@ -31,12 +31,6 @@
31#include "gnunet_hello_lib.h" 31#include "gnunet_hello_lib.h"
32 32
33/** 33/**
34 * Number of network types supported by ATS
35 */
36#define GNUNET_ATS_NetworkTypeCount 6
37
38
39/**
40 * Types of networks (with separate quotas) we support. 34 * Types of networks (with separate quotas) we support.
41 */ 35 */
42enum GNUNET_ATS_Network_Type 36enum GNUNET_ATS_Network_Type
@@ -70,14 +64,13 @@ enum GNUNET_ATS_Network_Type
70 * Bluetooth LAN 64 * Bluetooth LAN
71 */ 65 */
72 GNUNET_ATS_NET_BT = 5 66 GNUNET_ATS_NET_BT = 5
73};
74
75 67
76/** 68/**
77 * ATS network types as array initializer 69 * Number of network types supported by ATS
78 */ 70 */
79#define GNUNET_ATS_NetworkType { GNUNET_ATS_NET_UNSPECIFIED, GNUNET_ATS_NET_LOOPBACK, GNUNET_ATS_NET_LAN, GNUNET_ATS_NET_WAN, GNUNET_ATS_NET_WLAN, GNUNET_ATS_NET_BT } 71#define GNUNET_ATS_NetworkTypeCount 6
80 72
73};
81 74
82 75
83/** 76/**