diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-18 14:25:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-18 14:25:47 +0000 |
commit | ba1a6724a6da40090b9cc08a6dcccf61a246926e (patch) | |
tree | fd12a4b48548b9265e61a80933445460c3ba3b0d /src/include | |
parent | c914e078ab8e9dc2b65f2bc02ce260b9d1d209de (diff) | |
download | gnunet-ba1a6724a6da40090b9cc08a6dcccf61a246926e.tar.gz gnunet-ba1a6724a6da40090b9cc08a6dcccf61a246926e.zip |
docu
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_core_service.h | 23 | ||||
-rw-r--r-- | src/include/gnunet_transport_service.h | 2 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h index 3ee2f102f..afe762772 100644 --- a/src/include/gnunet_core_service.h +++ b/src/include/gnunet_core_service.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2009 Christian Grothoff (and other contributing authors) | 3 | (C) 2009, 2010 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -175,6 +175,27 @@ GNUNET_CORE_connect (struct GNUNET_SCHEDULER_Handle *sched, | |||
175 | void GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle); | 175 | void GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle); |
176 | 176 | ||
177 | 177 | ||
178 | struct GNUNET_CORE_PeerRequestHandle; | ||
179 | |||
180 | struct GNUNET_CORE_PeerRequestHandle * | ||
181 | struct GNUNET_CORE_peer_request_connect (struct GNUNET_SCHEDULER_Handle *sched, | ||
182 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
183 | const struct GNUNET_PeerIdentity * peer, | ||
184 | GNUNET_SCHEDULER_Task cont, | ||
185 | void *cont_cls); | ||
186 | |||
187 | |||
188 | struct GNUNET_CORE_PeerRequestHandle * | ||
189 | struct GNUNET_CORE_peer_request_disconnect (struct GNUNET_SCHEDULER_Handle *sched, | ||
190 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
191 | const struct GNUNET_PeerIdentity * peer, | ||
192 | GNUNET_SCHEDULER_Task cont, | ||
193 | void *cont_cls); | ||
194 | |||
195 | void | ||
196 | GNUNET_CORE_peer_request_cancel (struct GNUNET_CORE_PeerRequestHandle *req); | ||
197 | |||
198 | |||
178 | /** | 199 | /** |
179 | * Function called with statistics about the given peer. | 200 | * Function called with statistics about the given peer. |
180 | * | 201 | * |
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index a705d3e10..726e03a95 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -238,7 +238,7 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle, | |||
238 | * Convert a binary address into a human | 238 | * Convert a binary address into a human |
239 | * readable address. | 239 | * readable address. |
240 | * | 240 | * |
241 | * @param handle connection to transport service | 241 | * @param sched scheduler to use |
242 | * @param cfg configuration to use | 242 | * @param cfg configuration to use |
243 | * @param address address to convert (binary format) | 243 | * @param address address to convert (binary format) |
244 | * @param addressLen number of bytes in address | 244 | * @param addressLen number of bytes in address |