diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-05 15:45:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-05 15:45:30 +0000 |
commit | 5d063af93ad3de2223ff3078acac13761ab308fb (patch) | |
tree | 81e3ad2c50f045a330117a5eb20f919f877273ec /src/ats/gnunet-service-ats_connectivity.h | |
parent | 4708a37d9085048e728d4e3ebc3c1a3c34703f89 (diff) | |
download | gnunet-5d063af93ad3de2223ff3078acac13761ab308fb.tar.gz gnunet-5d063af93ad3de2223ff3078acac13761ab308fb.zip |
-cleaning up gnunet-service-ats_connectivity-*
Diffstat (limited to 'src/ats/gnunet-service-ats_connectivity.h')
-rw-r--r-- | src/ats/gnunet-service-ats_connectivity.h | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/src/ats/gnunet-service-ats_connectivity.h b/src/ats/gnunet-service-ats_connectivity.h index faa00ac40..61c1d0ce5 100644 --- a/src/ats/gnunet-service-ats_connectivity.h +++ b/src/ats/gnunet-service-ats_connectivity.h | |||
@@ -17,34 +17,17 @@ | |||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | |||
21 | /** | 20 | /** |
22 | * @file ats/gnunet-service-ats_connectivity.h | 21 | * @file ats/gnunet-service-ats_connectivity.h |
23 | * @brief ats service, interaction with 'connecivity' API | 22 | * @brief ats service, interaction with 'connecivity' API |
24 | * @author Matthias Wachs | 23 | * @author Matthias Wachs |
25 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * | ||
26 | * TODO: will need API to query connectivity requests! | ||
26 | */ | 27 | */ |
27 | #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H | 28 | #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H |
28 | #define GNUNET_SERVICE_ATS_CONNECTIVITY_H | 29 | #define GNUNET_SERVICE_ATS_CONNECTIVITY_H |
29 | 30 | ||
30 | /** | ||
31 | * Request address suggestions for a peer | ||
32 | * | ||
33 | * @param peer the peer id | ||
34 | */ | ||
35 | void | ||
36 | GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer); | ||
37 | |||
38 | |||
39 | /** | ||
40 | * Cancel address suggestions for a peer | ||
41 | * | ||
42 | * @param peer the peer id | ||
43 | */ | ||
44 | void | ||
45 | GAS_addresses_request_address_cancel (const struct GNUNET_PeerIdentity *peer); | ||
46 | |||
47 | |||
48 | 31 | ||
49 | /** | 32 | /** |
50 | * Handle 'request address' messages from clients. | 33 | * Handle 'request address' messages from clients. |
@@ -83,6 +66,13 @@ GAS_connectivity_remove_client (struct GNUNET_SERVER_Client *client); | |||
83 | 66 | ||
84 | 67 | ||
85 | /** | 68 | /** |
69 | * Initialize connectivity subsystem. | ||
70 | */ | ||
71 | void | ||
72 | GAS_connectivity_init (void); | ||
73 | |||
74 | |||
75 | /** | ||
86 | * Shutdown connectivity subsystem. | 76 | * Shutdown connectivity subsystem. |
87 | */ | 77 | */ |
88 | void | 78 | void |