diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/ats/gnunet-service-ats_plugins.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/ats/gnunet-service-ats_plugins.h')
-rw-r--r-- | src/ats/gnunet-service-ats_plugins.h | 34 |
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 | */ |
43 | int | 43 | int |
44 | GAS_plugin_init(const struct GNUNET_CONFIGURATION_Handle *cfg); | 44 | GAS_plugin_init (const struct GNUNET_CONFIGURATION_Handle *cfg); |
45 | 45 | ||
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Shutdown address subsystem. | 48 | * Shutdown address subsystem. |
49 | */ | 49 | */ |
50 | void | 50 | void |
51 | GAS_plugin_done(void); | 51 | GAS_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 | */ |
61 | void | 61 | void |
62 | GAS_plugin_notify_preference_changed(const struct GNUNET_PeerIdentity *peer, | 62 | GAS_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 | */ |
72 | void | 72 | void |
73 | GAS_plugin_notify_property_changed(struct ATS_Address *address); | 73 | GAS_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 | */ |
83 | void | 83 | void |
84 | GAS_plugin_new_address(struct ATS_Address *new_address); | 84 | GAS_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 | */ |
93 | void | 93 | void |
94 | GAS_plugin_delete_address(struct ATS_Address *address); | 94 | GAS_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 | */ |
107 | void | 107 | void |
108 | GAS_plugin_notify_feedback(struct GNUNET_SERVICE_Client *application, | 108 | GAS_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 | */ |
119 | void | 119 | void |
120 | GAS_plugin_solver_lock(void); | 120 | GAS_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 | */ |
126 | void | 126 | void |
127 | GAS_plugin_solver_unlock(void); | 127 | GAS_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 | */ |
136 | void | 136 | void |
137 | GAS_plugin_request_connect_start(const struct GNUNET_PeerIdentity *pid); | 137 | GAS_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 | */ |
146 | void | 146 | void |
147 | GAS_plugin_request_connect_stop(const struct GNUNET_PeerIdentity *pid); | 147 | GAS_plugin_request_connect_stop (const struct GNUNET_PeerIdentity *pid); |
148 | 148 | ||
149 | 149 | ||
150 | #endif | 150 | #endif |