summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_ats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_ats.h')
-rw-r--r--src/transport/gnunet-service-transport_ats.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/transport/gnunet-service-transport_ats.h b/src/transport/gnunet-service-transport_ats.h
index 9c906a9a2..d536714ec 100644
--- a/src/transport/gnunet-service-transport_ats.h
+++ b/src/transport/gnunet-service-transport_ats.h
@@ -31,14 +31,14 @@
31 * Initialize ATS subsystem. 31 * Initialize ATS subsystem.
32 */ 32 */
33void 33void
34GST_ats_init(void); 34GST_ats_init (void);
35 35
36 36
37/** 37/**
38 * Shutdown ATS subsystem. 38 * Shutdown ATS subsystem.
39 */ 39 */
40void 40void
41GST_ats_done(void); 41GST_ats_done (void);
42 42
43 43
44/** 44/**
@@ -51,8 +51,8 @@ GST_ats_done(void);
51 * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not. 51 * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
52 */ 52 */
53int 53int
54GST_ats_is_known(const struct GNUNET_HELLO_Address *address, 54GST_ats_is_known (const struct GNUNET_HELLO_Address *address,
55 struct GNUNET_ATS_Session *session); 55 struct GNUNET_ATS_Session *session);
56 56
57 57
58/** 58/**
@@ -63,7 +63,7 @@ GST_ats_is_known(const struct GNUNET_HELLO_Address *address,
63 * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not. 63 * @return #GNUNET_YES if @a address is known, #GNUNET_NO if not.
64 */ 64 */
65int 65int
66GST_ats_is_known_no_session(const struct GNUNET_HELLO_Address *address); 66GST_ats_is_known_no_session (const struct GNUNET_HELLO_Address *address);
67 67
68 68
69/** 69/**
@@ -76,8 +76,8 @@ GST_ats_is_known_no_session(const struct GNUNET_HELLO_Address *address);
76 * @param session the session (can be NULL) 76 * @param session the session (can be NULL)
77 */ 77 */
78void 78void
79GST_ats_block_address(const struct GNUNET_HELLO_Address *address, 79GST_ats_block_address (const struct GNUNET_HELLO_Address *address,
80 struct GNUNET_ATS_Session *session); 80 struct GNUNET_ATS_Session *session);
81 81
82 82
83/** 83/**
@@ -89,8 +89,8 @@ GST_ats_block_address(const struct GNUNET_HELLO_Address *address,
89 * @param session the session (can be NULL) 89 * @param session the session (can be NULL)
90 */ 90 */
91void 91void
92GST_ats_block_reset(const struct GNUNET_HELLO_Address *address, 92GST_ats_block_reset (const struct GNUNET_HELLO_Address *address,
93 struct GNUNET_ATS_Session *session); 93 struct GNUNET_ATS_Session *session);
94 94
95 95
96/** 96/**
@@ -104,9 +104,9 @@ GST_ats_block_reset(const struct GNUNET_HELLO_Address *address,
104 * @param prop performance information 104 * @param prop performance information
105 */ 105 */
106void 106void
107GST_ats_add_inbound_address(const struct GNUNET_HELLO_Address *address, 107GST_ats_add_inbound_address (const struct GNUNET_HELLO_Address *address,
108 struct GNUNET_ATS_Session *session, 108 struct GNUNET_ATS_Session *session,
109 const struct GNUNET_ATS_Properties *prop); 109 const struct GNUNET_ATS_Properties *prop);
110 110
111 111
112/** 112/**
@@ -117,8 +117,8 @@ GST_ats_add_inbound_address(const struct GNUNET_HELLO_Address *address,
117 * @param prop performance information 117 * @param prop performance information
118 */ 118 */
119void 119void
120GST_ats_add_address(const struct GNUNET_HELLO_Address *address, 120GST_ats_add_address (const struct GNUNET_HELLO_Address *address,
121 const struct GNUNET_ATS_Properties *prop); 121 const struct GNUNET_ATS_Properties *prop);
122 122
123 123
124/** 124/**
@@ -131,8 +131,8 @@ GST_ats_add_address(const struct GNUNET_HELLO_Address *address,
131 * @param session the session 131 * @param session the session
132 */ 132 */
133void 133void
134GST_ats_new_session(const struct GNUNET_HELLO_Address *address, 134GST_ats_new_session (const struct GNUNET_HELLO_Address *address,
135 struct GNUNET_ATS_Session *session); 135 struct GNUNET_ATS_Session *session);
136 136
137 137
138/** 138/**
@@ -144,9 +144,9 @@ GST_ats_new_session(const struct GNUNET_HELLO_Address *address,
144 * @param bps_out new utilization outbound 144 * @param bps_out new utilization outbound
145 */ 145 */
146void 146void
147GST_ats_update_utilization(const struct GNUNET_HELLO_Address *address, 147GST_ats_update_utilization (const struct GNUNET_HELLO_Address *address,
148 uint32_t bps_in, 148 uint32_t bps_in,
149 uint32_t bps_out); 149 uint32_t bps_out);
150 150
151 151
152/** 152/**
@@ -158,8 +158,8 @@ GST_ats_update_utilization(const struct GNUNET_HELLO_Address *address,
158 * @param delay new delay value 158 * @param delay new delay value
159 */ 159 */
160void 160void
161GST_ats_update_delay(const struct GNUNET_HELLO_Address *address, 161GST_ats_update_delay (const struct GNUNET_HELLO_Address *address,
162 struct GNUNET_TIME_Relative delay); 162 struct GNUNET_TIME_Relative delay);
163 163
164 164
165/** 165/**
@@ -170,8 +170,8 @@ GST_ats_update_delay(const struct GNUNET_HELLO_Address *address,
170 * @param distance new distance value 170 * @param distance new distance value
171 */ 171 */
172void 172void
173GST_ats_update_distance(const struct GNUNET_HELLO_Address *address, 173GST_ats_update_distance (const struct GNUNET_HELLO_Address *address,
174 uint32_t distance); 174 uint32_t distance);
175 175
176 176
177/** 177/**
@@ -186,8 +186,8 @@ GST_ats_update_distance(const struct GNUNET_HELLO_Address *address,
186 * @param session the session 186 * @param session the session
187 */ 187 */
188void 188void
189GST_ats_del_session(const struct GNUNET_HELLO_Address *address, 189GST_ats_del_session (const struct GNUNET_HELLO_Address *address,
190 struct GNUNET_ATS_Session *session); 190 struct GNUNET_ATS_Session *session);
191 191
192 192
193/** 193/**
@@ -198,7 +198,7 @@ GST_ats_del_session(const struct GNUNET_HELLO_Address *address,
198 * @param address the address 198 * @param address the address
199 */ 199 */
200void 200void
201GST_ats_expire_address(const struct GNUNET_HELLO_Address *address); 201GST_ats_expire_address (const struct GNUNET_HELLO_Address *address);
202 202
203 203
204#endif 204#endif