diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-21 10:56:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-21 10:56:28 +0000 |
commit | d4afc6e37a14fe3257263c377a243c1a22ed9ee5 (patch) | |
tree | ccfce6d4f92808372d3e7ebfe9f5372e9f21f50c /src/ats/gnunet-service-ats_connectivity.h | |
parent | 60d02b5b0899f454cb65408bd2ed4c453fa75a3d (diff) | |
download | gnunet-d4afc6e37a14fe3257263c377a243c1a22ed9ee5.tar.gz gnunet-d4afc6e37a14fe3257263c377a243c1a22ed9ee5.zip |
migrating more services to new service API
Diffstat (limited to 'src/ats/gnunet-service-ats_connectivity.h')
-rw-r--r-- | src/ats/gnunet-service-ats_connectivity.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/ats/gnunet-service-ats_connectivity.h b/src/ats/gnunet-service-ats_connectivity.h index f10f9de0e..b8f194b36 100644 --- a/src/ats/gnunet-service-ats_connectivity.h +++ b/src/ats/gnunet-service-ats_connectivity.h | |||
@@ -26,6 +26,8 @@ | |||
26 | #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H | 26 | #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H |
27 | #define GNUNET_SERVICE_ATS_CONNECTIVITY_H | 27 | #define GNUNET_SERVICE_ATS_CONNECTIVITY_H |
28 | 28 | ||
29 | #include "ats.h" | ||
30 | |||
29 | 31 | ||
30 | /** | 32 | /** |
31 | * Is the given peer in the list of peers for which we | 33 | * Is the given peer in the list of peers for which we |
@@ -43,27 +45,23 @@ GAS_connectivity_has_peer (void *cls, | |||
43 | /** | 45 | /** |
44 | * Handle 'request address' messages from clients. | 46 | * Handle 'request address' messages from clients. |
45 | * | 47 | * |
46 | * @param cls unused, NULL | ||
47 | * @param client client that sent the request | 48 | * @param client client that sent the request |
48 | * @param message the request message | 49 | * @param msg the request message |
49 | */ | 50 | */ |
50 | void | 51 | void |
51 | GAS_handle_request_address (void *cls, | 52 | GAS_handle_request_address (struct GNUNET_SERVICE_Client *client, |
52 | struct GNUNET_SERVER_Client *client, | 53 | const struct RequestAddressMessage *msg); |
53 | const struct GNUNET_MessageHeader *message); | ||
54 | 54 | ||
55 | 55 | ||
56 | /** | 56 | /** |
57 | * Cancel 'request address' messages from clients. | 57 | * Cancel 'request address' messages from clients. |
58 | * | 58 | * |
59 | * @param cls unused, NULL | ||
60 | * @param client client that sent the request | 59 | * @param client client that sent the request |
61 | * @param message the request message | 60 | * @param msg the request message |
62 | */ | 61 | */ |
63 | void | 62 | void |
64 | GAS_handle_request_address_cancel (void *cls, | 63 | GAS_handle_request_address_cancel (struct GNUNET_SERVICE_Client *client, |
65 | struct GNUNET_SERVER_Client *client, | 64 | const struct RequestAddressMessage *msg); |
66 | const struct GNUNET_MessageHeader *message); | ||
67 | 65 | ||
68 | 66 | ||
69 | /** | 67 | /** |
@@ -73,7 +71,7 @@ GAS_handle_request_address_cancel (void *cls, | |||
73 | * @param client handle of the (now dead) client | 71 | * @param client handle of the (now dead) client |
74 | */ | 72 | */ |
75 | void | 73 | void |
76 | GAS_connectivity_remove_client (struct GNUNET_SERVER_Client *client); | 74 | GAS_connectivity_remove_client (struct GNUNET_SERVICE_Client *client); |
77 | 75 | ||
78 | 76 | ||
79 | /** | 77 | /** |