aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-02-05 15:35:32 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-02-05 15:35:32 +0000
commit9ea6140052f8340045bf0b363030a1e6ab79a435 (patch)
treec18a5b21e01f3026fef9df36c2e109fc841904dd /src/transport/gnunet-service-transport_manipulation.h
parent1c388b347390fbc2e784891dad42a2287e90a584 (diff)
downloadgnunet-9ea6140052f8340045bf0b363030a1e6ab79a435.tar.gz
gnunet-9ea6140052f8340045bf0b363030a1e6ab79a435.zip
traffic manipulation: receive delay
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.h')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.h b/src/transport/gnunet-service-transport_manipulation.h
new file mode 100644
index 000000000..f8faa85dd
--- /dev/null
+++ b/src/transport/gnunet-service-transport_manipulation.h
@@ -0,0 +1,63 @@
1/*
2 This file is part of GNUnet.
3 (C) 2010,2011 Christian Grothoff (and other contributing authors)
4
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
7 by the Free Software Foundation; either version 3, or (at your
8 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 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20
21/**
22 * @file transport/gnunet-service-transport_neighbours.h
23 * @brief neighbour management API
24 * @author Christian Grothoff
25 */
26#ifndef GNUNET_SERVICE_TRANSPORT_MANIPULATION_H
27#define GNUNET_SERVICE_TRANSPORT_MANIPULATION_H
28
29#include "platform.h"
30#include "gnunet-service-transport_blacklist.h"
31#include "gnunet-service-transport_clients.h"
32#include "gnunet-service-transport_hello.h"
33#include "gnunet-service-transport_neighbours.h"
34#include "gnunet-service-transport_plugins.h"
35#include "gnunet-service-transport_validation.h"
36#include "gnunet-service-transport.h"
37#include "transport.h"
38
39void
40GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client,
41 const struct GNUNET_MessageHeader *message);
42
43void
44GST_manipulation_send (const struct GNUNET_PeerIdentity *target, const void *msg,
45 size_t msg_size, struct GNUNET_TIME_Relative timeout,
46 GST_NeighbourSendContinuation cont, void *cont_cls);
47
48struct GNUNET_TIME_Relative
49GST_manipulation_recv (void *cls, const struct GNUNET_PeerIdentity *peer,
50 const struct GNUNET_MessageHeader *message,
51 const struct GNUNET_ATS_Information *ats,
52 uint32_t ats_count, struct Session *session,
53 const char *sender_address,
54 uint16_t sender_address_len);
55
56void
57GST_manipulation_init ();
58
59void
60GST_manipulation_stop ();
61
62#endif
63/* end of file gnunet-service-transport_neighbours.h */