diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-04 12:52:46 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-04 12:52:46 +0000 |
commit | 4f3779ef40bffbadc043c4c6511b7ce0177846b9 (patch) | |
tree | b5d4e71a3d4aff1cc60599c731d9fcbb35db7d77 /src/transport | |
parent | 32819ab9c5f4366788088ff39792f4c7066c0f31 (diff) | |
download | gnunet-4f3779ef40bffbadc043c4c6511b7ce0177846b9.tar.gz gnunet-4f3779ef40bffbadc043c4c6511b7ce0177846b9.zip |
not required
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.c | 14 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport_clients.h | 11 |
2 files changed, 2 insertions, 23 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c index 848351f12..1beb39ff6 100644 --- a/src/transport/gnunet-service-transport_clients.c +++ b/src/transport/gnunet-service-transport_clients.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include "gnunet-service-transport.h" | 33 | #include "gnunet-service-transport.h" |
34 | #include "transport.h" | 34 | #include "transport.h" |
35 | 35 | ||
36 | |||
36 | /** | 37 | /** |
37 | * How many messages can we have pending for a given client process | 38 | * How many messages can we have pending for a given client process |
38 | * before we start to drop incoming messages? We typically should | 39 | * before we start to drop incoming messages? We typically should |
@@ -975,19 +976,6 @@ GST_clients_stop () | |||
975 | } | 976 | } |
976 | 977 | ||
977 | /** | 978 | /** |
978 | * Tell clients how many bytes were used on the wire | ||
979 | * Can differ from payload bytes depending on plugin | ||
980 | * | ||
981 | * @param n peer | ||
982 | * @param send_phys bytes sent on the wire | ||
983 | */ | ||
984 | void | ||
985 | GST_clients_communicate_bytes_used (const struct GNUNET_PeerIdentity *n, ssize_t send_phys) | ||
986 | { | ||
987 | //FIXME: To be implemented | ||
988 | } | ||
989 | |||
990 | /** | ||
991 | * Broadcast the given message to all of our clients. | 979 | * Broadcast the given message to all of our clients. |
992 | * | 980 | * |
993 | * @param msg message to broadcast | 981 | * @param msg message to broadcast |
diff --git a/src/transport/gnunet-service-transport_clients.h b/src/transport/gnunet-service-transport_clients.h index 757780f91..25d075864 100644 --- a/src/transport/gnunet-service-transport_clients.h +++ b/src/transport/gnunet-service-transport_clients.h | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "gnunet_hello_lib.h" | 31 | #include "gnunet_hello_lib.h" |
32 | 32 | ||
33 | 33 | ||
34 | |||
34 | /** | 35 | /** |
35 | * Start handling requests from clients. | 36 | * Start handling requests from clients. |
36 | * | 37 | * |
@@ -39,16 +40,6 @@ | |||
39 | void | 40 | void |
40 | GST_clients_start (struct GNUNET_SERVER_Handle *server); | 41 | GST_clients_start (struct GNUNET_SERVER_Handle *server); |
41 | 42 | ||
42 | /** | ||
43 | * Tell clients how many bytes were used on the wire | ||
44 | * Can differ from payload bytes depending on plugin | ||
45 | * | ||
46 | * @param n peer | ||
47 | * @param send_phys bytes sent on the wire | ||
48 | */ | ||
49 | void | ||
50 | GST_clients_communicate_bytes_used (const struct GNUNET_PeerIdentity *n, ssize_t send_phys); | ||
51 | |||
52 | 43 | ||
53 | /** | 44 | /** |
54 | * Stop processing clients. | 45 | * Stop processing clients. |