diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/ats/gnunet-service-ats_scheduling.h | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.h')
-rw-r--r-- | src/ats/gnunet-service-ats_scheduling.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.h b/src/ats/gnunet-service-ats_scheduling.h index 7eeaba8b3..44ac705e3 100644 --- a/src/ats/gnunet-service-ats_scheduling.h +++ b/src/ats/gnunet-service-ats_scheduling.h | |||
@@ -34,7 +34,7 @@ | |||
34 | * Register a new scheduling client. | 34 | * Register a new scheduling client. |
35 | * | 35 | * |
36 | * @param client handle of the new client | 36 | * @param client handle of the new client |
37 | * @return GNUNET_OK on success, GNUNET_SYSERR on error | 37 | * @return GNUNET_OK on success, GNUNET_SYSERR on error |
38 | */ | 38 | */ |
39 | int | 39 | int |
40 | GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client); | 40 | GAS_scheduling_add_client (struct GNUNET_SERVER_Client *client); |
@@ -65,14 +65,17 @@ GAS_scheduling_remove_client (struct GNUNET_SERVER_Client *client); | |||
65 | * @param bandwidth_in assigned inbound bandwidth | 65 | * @param bandwidth_in assigned inbound bandwidth |
66 | */ | 66 | */ |
67 | void | 67 | void |
68 | GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *peer, | 68 | GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity |
69 | const char *plugin_name, | 69 | *peer, const char *plugin_name, |
70 | const void *plugin_addr, size_t plugin_addr_len, | 70 | const void *plugin_addr, |
71 | uint32_t session_id, | 71 | size_t plugin_addr_len, |
72 | const struct GNUNET_ATS_Information *atsi, | 72 | uint32_t session_id, |
73 | uint32_t atsi_count, | 73 | const struct GNUNET_ATS_Information |
74 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 74 | *atsi, uint32_t atsi_count, |
75 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in); | 75 | struct GNUNET_BANDWIDTH_Value32NBO |
76 | bandwidth_out, | ||
77 | struct GNUNET_BANDWIDTH_Value32NBO | ||
78 | bandwidth_in); | ||
76 | 79 | ||
77 | 80 | ||
78 | /** | 81 | /** |
@@ -84,7 +87,7 @@ GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *pe | |||
84 | */ | 87 | */ |
85 | void | 88 | void |
86 | GAS_handle_request_address (void *cls, struct GNUNET_SERVER_Client *client, | 89 | GAS_handle_request_address (void *cls, struct GNUNET_SERVER_Client *client, |
87 | const struct GNUNET_MessageHeader *message); | 90 | const struct GNUNET_MessageHeader *message); |
88 | 91 | ||
89 | 92 | ||
90 | 93 | ||
@@ -97,7 +100,7 @@ GAS_handle_request_address (void *cls, struct GNUNET_SERVER_Client *client, | |||
97 | */ | 100 | */ |
98 | void | 101 | void |
99 | GAS_handle_address_update (void *cls, struct GNUNET_SERVER_Client *client, | 102 | GAS_handle_address_update (void *cls, struct GNUNET_SERVER_Client *client, |
100 | const struct GNUNET_MessageHeader *message); | 103 | const struct GNUNET_MessageHeader *message); |
101 | 104 | ||
102 | 105 | ||
103 | /** | 106 | /** |
@@ -120,7 +123,7 @@ GAS_handle_address_in_use (void *cls, struct GNUNET_SERVER_Client *client, | |||
120 | */ | 123 | */ |
121 | void | 124 | void |
122 | GAS_handle_address_destroyed (void *cls, struct GNUNET_SERVER_Client *client, | 125 | GAS_handle_address_destroyed (void *cls, struct GNUNET_SERVER_Client *client, |
123 | const struct GNUNET_MessageHeader *message); | 126 | const struct GNUNET_MessageHeader *message); |
124 | 127 | ||
125 | 128 | ||
126 | /** | 129 | /** |