summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_manipulation.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-04-03 14:11:36 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-04-03 14:11:36 +0000
commite82ddb1df77b55906949f158745866133e835acf (patch)
treed0d79438d4727cebcccd5ca8fee21ff5f997d542 /src/transport/gnunet-service-transport_manipulation.c
parent89fbfa0dc3f6e4f301e892c76937d0a09667f2b4 (diff)
docu
Diffstat (limited to 'src/transport/gnunet-service-transport_manipulation.c')
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index a51e9da4e..5c26a8038 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -50,6 +50,9 @@ struct GST_ManipulationHandle man_handle;
struct GST_ManipulationHandle
{
+ /**
+ * Hashmap contain all peers currently manipulated
+ */
struct GNUNET_CONTAINER_MultiHashMap *peers;
/**
@@ -74,11 +77,14 @@ struct GST_ManipulationHandle
};
-
+/**
+ * Struct containing information about manipulations to a specific peer
+ */
struct TM_Peer;
-
-
+/**
+ * Entry in the delay queue for an outbound delayed message
+ */
struct DelayQueueEntry
{
struct DelayQueueEntry *prev;
@@ -92,6 +98,9 @@ struct DelayQueueEntry
void *cont_cls;
};
+/**
+ * Struct containing information about manipulations to a specific peer
+ */
struct TM_Peer
{
struct GNUNET_PeerIdentity peer;
@@ -525,6 +534,10 @@ free_tmps (void *cls,
return GNUNET_OK;
}
+
+/**
+ * Stop traffic manipulation
+ */
void
GST_manipulation_stop ()
{