aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_performance.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-05 16:09:26 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-05 16:09:26 +0000
commitb2a4dcbce4f56046fbdcd4b114ec7a3feb4793fd (patch)
tree80877f12acf494cafd50d574bdc1a2b2a218bacb /src/ats/gnunet-service-ats_performance.h
parent5d063af93ad3de2223ff3078acac13761ab308fb (diff)
downloadgnunet-b2a4dcbce4f56046fbdcd4b114ec7a3feb4793fd.tar.gz
gnunet-b2a4dcbce4f56046fbdcd4b114ec7a3feb4793fd.zip
-cleaning up gnunet-service-ats_performance-*
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.h')
-rw-r--r--src/ats/gnunet-service-ats_performance.h70
1 files changed, 1 insertions, 69 deletions
diff --git a/src/ats/gnunet-service-ats_performance.h b/src/ats/gnunet-service-ats_performance.h
index b1903fe04..24e9ec1ee 100644
--- a/src/ats/gnunet-service-ats_performance.h
+++ b/src/ats/gnunet-service-ats_performance.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 (C) 2011 Christian Grothoff (and other contributing authors) 3 (C) 2011-2015 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
@@ -43,16 +43,6 @@ GAS_performance_add_client (struct GNUNET_SERVER_Client *client,
43 43
44 44
45/** 45/**
46 * Unregister a client (which may have been a performance client,
47 * but this is not assured).
48 *
49 * @param client handle of the (now dead) client
50 */
51void
52GAS_performance_remove_client (struct GNUNET_SERVER_Client *client);
53
54
55/**
56 * Transmit the given performance information to all performance 46 * Transmit the given performance information to all performance
57 * clients. 47 * clients.
58 * 48 *
@@ -82,62 +72,6 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer,
82 72
83 73
84/** 74/**
85 * Handle 'address list request' messages from clients.
86 *
87 * @param cls unused, NULL
88 * @param client client that sent the request
89 * @param message the request message
90 */
91void
92GAS_handle_request_address_list (void *cls,
93 struct GNUNET_SERVER_Client *client,
94 const struct GNUNET_MessageHeader *message);
95
96/**
97 * Handle 'reservation request' messages from clients.
98 *
99 * @param cls unused, NULL
100 * @param client client that sent the request
101 * @param message the request message
102 */
103void
104GAS_handle_reservation_request (void *cls,
105 struct GNUNET_SERVER_Client *client,
106 const struct GNUNET_MessageHeader *message);
107
108
109/**
110 * Handle 'preference change' messages from clients.
111 *
112 * @param cls unused, NULL
113 * @param client client that sent the request
114 * @param message the request message
115 */
116void
117GAS_handle_preference_change (void *cls,
118 struct GNUNET_SERVER_Client *client,
119 const struct GNUNET_MessageHeader *message);
120
121
122/**
123 * Handle 'preference feedback' messages from clients.
124 *
125 * @param cls unused, NULL
126 * @param client client that sent the request
127 * @param message the request message
128 */
129void
130GAS_handle_preference_feedback (void *cls,
131 struct GNUNET_SERVER_Client *client,
132 const struct GNUNET_MessageHeader *message);
133
134
135void
136GAS_handle_monitor (void *cls,
137 struct GNUNET_SERVER_Client *client,
138 const struct GNUNET_MessageHeader *message);
139
140/**
141 * Initialize performance subsystem. 75 * Initialize performance subsystem.
142 * 76 *
143 * @param server handle to our server 77 * @param server handle to our server
@@ -154,7 +88,5 @@ void
154GAS_performance_done (void); 88GAS_performance_done (void);
155 89
156 90
157/* FIXME: add API to broadcast performance updates! */
158
159#endif 91#endif
160/* end of gnunet-service-ats_performance.h */ 92/* end of gnunet-service-ats_performance.h */