aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_ats_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_ats_plugin.h')
-rw-r--r--src/include/gnunet_ats_plugin.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/include/gnunet_ats_plugin.h b/src/include/gnunet_ats_plugin.h
index 4d6fa43f4..75d7ce3f8 100644
--- a/src/include/gnunet_ats_plugin.h
+++ b/src/include/gnunet_ats_plugin.h
@@ -34,13 +34,11 @@
34#include "gnunet_ats_service.h" 34#include "gnunet_ats_service.h"
35#include "gnunet_statistics_service.h" 35#include "gnunet_statistics_service.h"
36 36
37
38/** 37/**
39 * Representation of an address the plugin can choose from. 38 * Representation of an address the plugin can choose from.
40 */ 39 */
41struct ATS_Address; 40struct ATS_Address;
42 41
43
44/** 42/**
45 * Change the preference for a peer 43 * Change the preference for a peer
46 * 44 *
@@ -125,16 +123,10 @@ typedef void
125 * 123 *
126 * @param solver solver handle 124 * @param solver solver handle
127 * @param address the address 125 * @param address the address
128 * @param type the ATSI type in HBO
129 * @param abs_value the absolute value of the property
130 * @param rel_value the normalized value
131 */ 126 */
132typedef void 127typedef void
133(*GAS_solver_address_property_changed) (void *solver, 128(*GAS_solver_address_property_changed) (void *solver,
134 struct ATS_Address *address, 129 struct ATS_Address *address);
135 enum GNUNET_ATS_Property type,
136 uint32_t abs_value,
137 double rel_value);
138 130
139 131
140/** 132/**
@@ -386,8 +378,8 @@ typedef void
386 378
387 379
388/** 380/**
389 * Callback to call from solver to obtain application preference values for a 381 * Callback to call from solver to obtain application preference
390 * peer 382 * values for a peer.
391 * 383 *
392 * @param cls the cls 384 * @param cls the cls
393 * @param id the peer id 385 * @param id the peer id