diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.h')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.h | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/ats/gnunet-service-ats_performance.h b/src/ats/gnunet-service-ats_performance.h index 3d5de0d85..292c27c95 100644 --- a/src/ats/gnunet-service-ats_performance.h +++ b/src/ats/gnunet-service-ats_performance.h | |||
@@ -50,15 +50,18 @@ | |||
50 | * @param bandwidth_in assigned inbound bandwidth | 50 | * @param bandwidth_in assigned inbound bandwidth |
51 | */ | 51 | */ |
52 | void | 52 | void |
53 | GAS_performance_notify_all_clients(const struct GNUNET_PeerIdentity *peer, | 53 | GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, |
54 | const char *plugin_name, | 54 | const char *plugin_name, |
55 | const void *plugin_addr, | 55 | const void *plugin_addr, |
56 | size_t plugin_addr_len, | 56 | size_t plugin_addr_len, |
57 | int active, | 57 | int active, |
58 | const struct GNUNET_ATS_Properties *prop, | 58 | const struct GNUNET_ATS_Properties *prop, |
59 | enum GNUNET_HELLO_AddressInfo local_address_info, | 59 | enum GNUNET_HELLO_AddressInfo |
60 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 60 | local_address_info, |
61 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); | 61 | struct GNUNET_BANDWIDTH_Value32NBO |
62 | bandwidth_out, | ||
63 | struct GNUNET_BANDWIDTH_Value32NBO | ||
64 | bandwidth_in); | ||
62 | 65 | ||
63 | 66 | ||
64 | /** | 67 | /** |
@@ -68,8 +71,8 @@ GAS_performance_notify_all_clients(const struct GNUNET_PeerIdentity *peer, | |||
68 | * @param flag flag specifying the type of the client | 71 | * @param flag flag specifying the type of the client |
69 | */ | 72 | */ |
70 | void | 73 | void |
71 | GAS_performance_add_client(struct GNUNET_SERVICE_Client *client, | 74 | GAS_performance_add_client (struct GNUNET_SERVICE_Client *client, |
72 | enum StartFlag flag); | 75 | enum StartFlag flag); |
73 | 76 | ||
74 | 77 | ||
75 | /** | 78 | /** |
@@ -79,14 +82,14 @@ GAS_performance_add_client(struct GNUNET_SERVICE_Client *client, | |||
79 | * @param addresses the address handle to use | 82 | * @param addresses the address handle to use |
80 | */ | 83 | */ |
81 | void | 84 | void |
82 | GAS_performance_init(void); | 85 | GAS_performance_init (void); |
83 | 86 | ||
84 | 87 | ||
85 | /** | 88 | /** |
86 | * Shutdown performance subsystem. | 89 | * Shutdown performance subsystem. |
87 | */ | 90 | */ |
88 | void | 91 | void |
89 | GAS_performance_done(void); | 92 | GAS_performance_done (void); |
90 | 93 | ||
91 | 94 | ||
92 | #endif | 95 | #endif |