aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-service-ats_plugins.h')
-rw-r--r--src/ats/gnunet-service-ats_plugins.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/ats/gnunet-service-ats_plugins.h b/src/ats/gnunet-service-ats_plugins.h
index e2256f691..4165fe9e2 100644
--- a/src/ats/gnunet-service-ats_plugins.h
+++ b/src/ats/gnunet-service-ats_plugins.h
@@ -41,14 +41,14 @@
41 * solver plugin) 41 * solver plugin)
42 */ 42 */
43int 43int
44GAS_plugin_init(const struct GNUNET_CONFIGURATION_Handle *cfg); 44GAS_plugin_init (const struct GNUNET_CONFIGURATION_Handle *cfg);
45 45
46 46
47/** 47/**
48 * Shutdown address subsystem. 48 * Shutdown address subsystem.
49 */ 49 */
50void 50void
51GAS_plugin_done(void); 51GAS_plugin_done (void);
52 52
53 53
54/** 54/**
@@ -59,9 +59,9 @@ GAS_plugin_done(void);
59 * @param pref_rel the new relative preference value 59 * @param pref_rel the new relative preference value
60 */ 60 */
61void 61void
62GAS_plugin_notify_preference_changed(const struct GNUNET_PeerIdentity *peer, 62GAS_plugin_notify_preference_changed (const struct GNUNET_PeerIdentity *peer,
63 enum GNUNET_ATS_PreferenceKind kind, 63 enum GNUNET_ATS_PreferenceKind kind,
64 double pref_rel); 64 double pref_rel);
65 65
66 66
67/** 67/**
@@ -70,7 +70,7 @@ GAS_plugin_notify_preference_changed(const struct GNUNET_PeerIdentity *peer,
70 * @param address the peer 70 * @param address the peer
71 */ 71 */
72void 72void
73GAS_plugin_notify_property_changed(struct ATS_Address *address); 73GAS_plugin_notify_property_changed (struct ATS_Address *address);
74 74
75 75
76/** 76/**
@@ -81,7 +81,7 @@ GAS_plugin_notify_property_changed(struct ATS_Address *address);
81 * @param addr_net network scope the address is in 81 * @param addr_net network scope the address is in
82 */ 82 */
83void 83void
84GAS_plugin_new_address(struct ATS_Address *new_address); 84GAS_plugin_new_address (struct ATS_Address *new_address);
85 85
86 86
87/** 87/**
@@ -91,7 +91,7 @@ GAS_plugin_new_address(struct ATS_Address *new_address);
91 * @param address address that was deleted 91 * @param address address that was deleted
92 */ 92 */
93void 93void
94GAS_plugin_delete_address(struct ATS_Address *address); 94GAS_plugin_delete_address (struct ATS_Address *address);
95 95
96 96
97/** 97/**
@@ -105,11 +105,11 @@ GAS_plugin_delete_address(struct ATS_Address *address);
105 * @param score_abs degree of the appreciation 105 * @param score_abs degree of the appreciation
106 */ 106 */
107void 107void
108GAS_plugin_notify_feedback(struct GNUNET_SERVICE_Client *application, 108GAS_plugin_notify_feedback (struct GNUNET_SERVICE_Client *application,
109 const struct GNUNET_PeerIdentity *peer, 109 const struct GNUNET_PeerIdentity *peer,
110 const struct GNUNET_TIME_Relative scope, 110 const struct GNUNET_TIME_Relative scope,
111 enum GNUNET_ATS_PreferenceKind kind, 111 enum GNUNET_ATS_PreferenceKind kind,
112 float score_abs); 112 float score_abs);
113 113
114 114
115/** 115/**
@@ -117,14 +117,14 @@ GAS_plugin_notify_feedback(struct GNUNET_SERVICE_Client *application,
117 * happening in bulk right now. 117 * happening in bulk right now.
118 */ 118 */
119void 119void
120GAS_plugin_solver_lock(void); 120GAS_plugin_solver_lock (void);
121 121
122 122
123/** 123/**
124 * Resume instant solving, we are done with the bulk state updates. 124 * Resume instant solving, we are done with the bulk state updates.
125 */ 125 */
126void 126void
127GAS_plugin_solver_unlock(void); 127GAS_plugin_solver_unlock (void);
128 128
129 129
130/** 130/**
@@ -134,7 +134,7 @@ GAS_plugin_solver_unlock(void);
134 * @param pid identity of peer we now care about 134 * @param pid identity of peer we now care about
135 */ 135 */
136void 136void
137GAS_plugin_request_connect_start(const struct GNUNET_PeerIdentity *pid); 137GAS_plugin_request_connect_start (const struct GNUNET_PeerIdentity *pid);
138 138
139 139
140/** 140/**
@@ -144,7 +144,7 @@ GAS_plugin_request_connect_start(const struct GNUNET_PeerIdentity *pid);
144 * @param pid identity of peer we care now less about 144 * @param pid identity of peer we care now less about
145 */ 145 */
146void 146void
147GAS_plugin_request_connect_stop(const struct GNUNET_PeerIdentity *pid); 147GAS_plugin_request_connect_stop (const struct GNUNET_PeerIdentity *pid);
148 148
149 149
150#endif 150#endif