diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:28:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-06 09:28:57 +0000 |
commit | 66d788dbe9224b7d3e51ad60d2a29a167b2e348d (patch) | |
tree | dd1737e137f070c01ef42800c4fe625f526d0214 /src/include/gnunet_ats_service.h | |
parent | 170d5baeece2def099112c6a25287a95d2b28899 (diff) | |
download | gnunet-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.h | 13 |
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 | */ |
42 | enum GNUNET_ATS_Network_Type | 36 | enum 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 | /** |