aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_addresses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-14 08:03:02 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-14 08:03:02 +0000
commit70f9bcf894b28799df078330d204860e7ea7bae8 (patch)
tree1ddea2775a875e840ab93e637b6f05b8678fc057 /src/ats/gnunet-service-ats_addresses.h
parent1bab64147e7b113051dcd41ae18fa0e9537b7fd9 (diff)
downloadgnunet-70f9bcf894b28799df078330d204860e7ea7bae8.tar.gz
gnunet-70f9bcf894b28799df078330d204860e7ea7bae8.zip
more ATS implementation: message parsing and generation:
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.h')
-rw-r--r--src/ats/gnunet-service-ats_addresses.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h
index 299619c6f..4e27b96d2 100644
--- a/src/ats/gnunet-service-ats_addresses.h
+++ b/src/ats/gnunet-service-ats_addresses.h
@@ -22,6 +22,7 @@
22 * @file ats/gnunet-service-ats_addresses.c 22 * @file ats/gnunet-service-ats_addresses.c
23 * @brief ats service address management 23 * @brief ats service address management
24 * @author Matthias Wachs 24 * @author Matthias Wachs
25 * @author Christian Grothoff
25 */ 26 */
26#ifndef GNUNET_SERVICE_ATS_ADDRESSES_H 27#ifndef GNUNET_SERVICE_ATS_ADDRESSES_H
27#define GNUNET_SERVICE_ATS_ADDRESSES_H 28#define GNUNET_SERVICE_ATS_ADDRESSES_H
@@ -42,12 +43,25 @@ GAS_addresses_done (void);
42 43
43 44
44void 45void
45GAS_address_update (struct GNUNET_SERVER_Client *client, 46GAS_address_update (const struct GNUNET_PeerIdentity *peer,
46 const struct GNUNET_PeerIdentity *peer,
47 const char *plugin_name, 47 const char *plugin_name,
48 const void *plugin_addr, size_t plugin_addr_len, 48 const void *plugin_addr, size_t plugin_addr_len,
49 struct GNUNET_SERVER_Client *session_client,
49 uint32_t session_id, 50 uint32_t session_id,
50 const struct GNUNET_TRANSPORT_ATS_Information *atsi, 51 const struct GNUNET_TRANSPORT_ATS_Information *atsi,
51 uint32_t atsi_count); 52 uint32_t atsi_count);
52 53
54
55void
56GAS_address_destroyed (const struct GNUNET_PeerIdentity *peer,
57 const char *plugin_name,
58 const void *plugin_addr, size_t plugin_addr_len,
59 struct GNUNET_SERVER_Client *session_client,
60 uint32_t session_id);
61
62
63void
64GAS_addresses_request_address (const struct GNUNET_PeerIdentity *peer);
65
66
53#endif 67#endif