diff options
Diffstat (limited to 'src/include/gnunet_transport_communication_service.h')
-rw-r--r-- | src/include/gnunet_transport_communication_service.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h index 94d15af22..d93d5134e 100644 --- a/src/include/gnunet_transport_communication_service.h +++ b/src/include/gnunet_transport_communication_service.h | |||
@@ -137,8 +137,8 @@ typedef void | |||
137 | * @return #GNUNET_OK if all is well, #GNUNET_NO if the message was | 137 | * @return #GNUNET_OK if all is well, #GNUNET_NO if the message was |
138 | * immediately dropped due to memory limitations (communicator | 138 | * immediately dropped due to memory limitations (communicator |
139 | * should try to apply back pressure), | 139 | * should try to apply back pressure), |
140 | * #GNUNET_SYSERR if the message is ill formed and communicator | 140 | * #GNUNET_SYSERR if the message could not be delivered because |
141 | * should try to reset stream | 141 | * the tranport service is not yet up |
142 | */ | 142 | */ |
143 | int | 143 | int |
144 | GNUNET_TRANSPORT_communicator_receive (struct GNUNET_TRANSPORT_CommunicatorHandle *handle, | 144 | GNUNET_TRANSPORT_communicator_receive (struct GNUNET_TRANSPORT_CommunicatorHandle *handle, |
@@ -162,7 +162,7 @@ struct GNUNET_TRANSPORT_QueueHandle; | |||
162 | * "inbound" connection or because the communicator discovered the | 162 | * "inbound" connection or because the communicator discovered the |
163 | * presence of another peer. | 163 | * presence of another peer. |
164 | * | 164 | * |
165 | * @param handle connection to transport service | 165 | * @param ch connection to transport service |
166 | * @param peer peer with which we can now communicate | 166 | * @param peer peer with which we can now communicate |
167 | * @param address address in human-readable format, 0-terminated, UTF-8 | 167 | * @param address address in human-readable format, 0-terminated, UTF-8 |
168 | * @param nt which network type does the @a address belong to? | 168 | * @param nt which network type does the @a address belong to? |
@@ -170,7 +170,7 @@ struct GNUNET_TRANSPORT_QueueHandle; | |||
170 | * @return API handle identifying the new MQ | 170 | * @return API handle identifying the new MQ |
171 | */ | 171 | */ |
172 | struct GNUNET_TRANSPORT_QueueHandle * | 172 | struct GNUNET_TRANSPORT_QueueHandle * |
173 | GNUNET_TRANSPORT_communicator_mq_add (struct GNUNET_TRANSPORT_CommunicatorHandle *handle, | 173 | GNUNET_TRANSPORT_communicator_mq_add (struct GNUNET_TRANSPORT_CommunicatorHandle *ch, |
174 | const struct GNUNET_PeerIdentity *peer, | 174 | const struct GNUNET_PeerIdentity *peer, |
175 | const char *address, | 175 | const char *address, |
176 | enum GNUNET_ATS_Network_Type nt, | 176 | enum GNUNET_ATS_Network_Type nt, |
@@ -198,16 +198,16 @@ struct GNUNET_TRANSPORT_AddressIdentifier; | |||
198 | * Notify transport service about an address that this communicator | 198 | * Notify transport service about an address that this communicator |
199 | * provides for this peer. | 199 | * provides for this peer. |
200 | * | 200 | * |
201 | * @param handle connection to transport service | 201 | * @param ch connection to transport service |
202 | * @param address our address in human-readable format, 0-terminated, UTF-8 | 202 | * @param address our address in human-readable format, 0-terminated, UTF-8 |
203 | * @param nt which network type does the address belong to? | 203 | * @param nt which network type does the address belong to? |
204 | * @param expiration when does the communicator forsee this address expiring? | 204 | * @param expiration when does the communicator forsee this address expiring? |
205 | */ | 205 | */ |
206 | struct GNUNET_TRANSPORT_AddressIdentifier * | 206 | struct GNUNET_TRANSPORT_AddressIdentifier * |
207 | GNUNET_TRANSPORT_communicator_address_add (struct GNUNET_TRANSPORT_CommunicatorHandle *handle, | 207 | GNUNET_TRANSPORT_communicator_address_add (struct GNUNET_TRANSPORT_CommunicatorHandle *ch, |
208 | const char *address, | 208 | const char *address, |
209 | enum GNUNET_ATS_Network_Type nt, | 209 | enum GNUNET_ATS_Network_Type nt, |
210 | struct GNUNET_TIME_Absolute expiration); | 210 | struct GNUNET_TIME_Relative expiration); |
211 | 211 | ||
212 | 212 | ||
213 | /** | 213 | /** |