diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-08 13:19:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-08 13:19:14 +0000 |
commit | e90c4dce6fc3253c9ca69305fb4efecf8eccc62e (patch) | |
tree | cd2f56b6244436b1b5ca4a651650ffd7327359b3 /src/ats/gnunet-service-ats_plugins.h | |
parent | aa42cd5e2a145b6a66cdc62051b50274109cff42 (diff) | |
download | gnunet-e90c4dce6fc3253c9ca69305fb4efecf8eccc62e.tar.gz gnunet-e90c4dce6fc3253c9ca69305fb4efecf8eccc62e.zip |
-rename for naming consistency
Diffstat (limited to 'src/ats/gnunet-service-ats_plugins.h')
-rw-r--r-- | src/ats/gnunet-service-ats_plugins.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/ats/gnunet-service-ats_plugins.h b/src/ats/gnunet-service-ats_plugins.h index 09c4b36f6..b2567ac26 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_plugins_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_plugins_done (void); | 51 | GAS_plugin_done (void); |
52 | 52 | ||
53 | 53 | ||
54 | /** | 54 | /** |
@@ -59,9 +59,9 @@ GAS_plugins_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_normalized_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 | /** |
@@ -69,12 +69,12 @@ GAS_normalized_preference_changed (const struct GNUNET_PeerIdentity *peer, | |||
69 | * | 69 | * |
70 | * @param address the peer | 70 | * @param address the peer |
71 | * @param type the ATS type | 71 | * @param type the ATS type |
72 | * @param prop_rel the new relative preference value | 72 | * @param prop_rel the new relative property value |
73 | */ | 73 | */ |
74 | void | 74 | void |
75 | GAS_normalized_property_changed (struct ATS_Address *address, | 75 | GAS_plugin_notify_property_changed (struct ATS_Address *address, |
76 | enum GNUNET_ATS_Property type, | 76 | enum GNUNET_ATS_Property type, |
77 | double prop_rel); | 77 | double prop_rel); |
78 | 78 | ||
79 | 79 | ||
80 | /** | 80 | /** |
@@ -114,13 +114,11 @@ GAS_plugin_delete_address (struct ATS_Address *address); | |||
114 | * @param score_abs degree of the appreciation | 114 | * @param score_abs degree of the appreciation |
115 | */ | 115 | */ |
116 | void | 116 | void |
117 | GAS_plugin_preference_feedback (struct GNUNET_SERVER_Client *application, | 117 | GAS_plugin_notify_feedback (struct GNUNET_SERVER_Client *application, |
118 | const struct GNUNET_PeerIdentity *peer, | 118 | const struct GNUNET_PeerIdentity *peer, |
119 | const struct GNUNET_TIME_Relative scope, | 119 | const struct GNUNET_TIME_Relative scope, |
120 | enum GNUNET_ATS_PreferenceKind kind, | 120 | enum GNUNET_ATS_PreferenceKind kind, |
121 | float score_abs); | 121 | float score_abs); |
122 | |||
123 | |||
124 | 122 | ||
125 | 123 | ||
126 | /** | 124 | /** |