diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-11 07:03:59 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-11 07:03:59 +0000 |
commit | 71983dd26e532a4b79194fbfe67928defd65c96e (patch) | |
tree | 36ae93b2be1357d6518d678575e7ba0599900954 /src/include/gnunet_ats_service.h | |
parent | d1c2615b4c8af07e413bd6cbf88cf049b8400328 (diff) | |
download | gnunet-71983dd26e532a4b79194fbfe67928defd65c96e.tar.gz gnunet-71983dd26e532a4b79194fbfe67928defd65c96e.zip |
fix for header
Diffstat (limited to 'src/include/gnunet_ats_service.h')
-rw-r--r-- | src/include/gnunet_ats_service.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gnunet_ats_service.h b/src/include/gnunet_ats_service.h index ab6f2a1bb..0c63c16b5 100644 --- a/src/include/gnunet_ats_service.h +++ b/src/include/gnunet_ats_service.h | |||
@@ -38,7 +38,7 @@ | |||
38 | /** | 38 | /** |
39 | * ATS network types as array initializer | 39 | * ATS network types as array initializer |
40 | */ | 40 | */ |
41 | #define GNUNET_ATS_NetworkType {GNUNET_ATS_NET_UNSPECIFIED, GNUNET_ATS_NET_LOOPBACK, GNUNET_ATS_NET_LAN, GNUNET_ATS_NET_WAN, GNUNET_ATS_NET_WLAN} | 41 | #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} |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * ATS network types as string array initializer | 44 | * ATS network types as string array initializer |
@@ -52,7 +52,7 @@ enum GNUNET_ATS_Network_Type | |||
52 | GNUNET_ATS_NET_LAN = 2, | 52 | GNUNET_ATS_NET_LAN = 2, |
53 | GNUNET_ATS_NET_WAN = 3, | 53 | GNUNET_ATS_NET_WAN = 3, |
54 | GNUNET_ATS_NET_WLAN = 4, | 54 | GNUNET_ATS_NET_WLAN = 4, |
55 | GNUNET_ATS_NET_BT = 5 | 55 | GNUNET_ATS_NET_BT = 5, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | /** | 58 | /** |
@@ -674,8 +674,9 @@ GNUNET_ATS_address_add (struct GNUNET_ATS_SchedulingHandle *sh, | |||
674 | * @param session session handle (if available) | 674 | * @param session session handle (if available) |
675 | * @param ats performance data for the address | 675 | * @param ats performance data for the address |
676 | * @param ats_count number of performance records in 'ats' | 676 | * @param ats_count number of performance records in 'ats' |
677 | * @return GNUNET_OK or GNUNET_SYSERR | ||
677 | */ | 678 | */ |
678 | void | 679 | int |
679 | GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh, | 680 | GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh, |
680 | const struct GNUNET_HELLO_Address *address, | 681 | const struct GNUNET_HELLO_Address *address, |
681 | struct Session *session, | 682 | struct Session *session, |