GNUnet  0.10.x
gnunet-service-ats_connectivity.h
Go to the documentation of this file.
1 /*
2  This file is part of GNUnet.
3  Copyright (C) 2011-2015 GNUnet e.V.
4 
5  GNUnet is free software: you can redistribute it and/or modify it
6  under the terms of the GNU Affero General Public License as published
7  by the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  GNUnet is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Affero General Public License for more details.
14 
15  You should have received a copy of the GNU Affero General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  SPDX-License-Identifier: AGPL3.0-or-later
19 */
26 #ifndef GNUNET_SERVICE_ATS_CONNECTIVITY_H
27 #define GNUNET_SERVICE_ATS_CONNECTIVITY_H
28 
29 #include "ats.h"
30 
31 
40 unsigned int
41 GAS_connectivity_has_peer (void *cls,
42  const struct GNUNET_PeerIdentity *peer);
43 
44 
51 void
53  const struct RequestAddressMessage *msg);
54 
55 
62 void
64  const struct RequestAddressMessage *msg);
65 
66 
73 void
75 
76 
80 void
82 
83 
87 void
89 
90 
91 #endif
92 /* end of gnunet-service-ats_connectivity.h */
Connectivity client to ATS service: we would like to have address suggestions for this peer...
Definition: ats.h:88
void GAS_connectivity_remove_client(struct GNUNET_SERVICE_Client *client)
Unregister a client (which may have been a connectivity client, but this is not assured).
struct GNUNET_MessageHeader * msg
Definition: 005.c:2
void GAS_connectivity_done(void)
Shutdown connectivity subsystem.
void GAS_handle_request_address_cancel(struct GNUNET_SERVICE_Client *client, const struct RequestAddressMessage *msg)
Cancel &#39;request address&#39; messages from clients.
Handle to a client that is connected to a service.
Definition: service.c:249
struct GNUNET_TESTBED_Peer * peer
The peer associated with this model.
The identity of the host (wraps the signing key of the peer).
unsigned int GAS_connectivity_has_peer(void *cls, const struct GNUNET_PeerIdentity *peer)
Is the given peer in the list of peers for which we have an address request?
struct GNUNET_SERVICE_Client * client
Client that made the request.
void GAS_handle_request_address(struct GNUNET_SERVICE_Client *client, const struct RequestAddressMessage *msg)
Handle &#39;request address&#39; messages from clients.
automatic transport selection messages
void GAS_connectivity_init(void)
Initialize connectivity subsystem.