aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
50 50
51struct GST_ManipulationHandle 51struct GST_ManipulationHandle
52{ 52{
53 /**
54 * Hashmap contain all peers currently manipulated
55 */
53 struct GNUNET_CONTAINER_MultiHashMap *peers; 56 struct GNUNET_CONTAINER_MultiHashMap *peers;
54 57
55 /** 58 /**
@@ -74,11 +77,14 @@ struct GST_ManipulationHandle
74 77
75}; 78};
76 79
77 80/**
81 * Struct containing information about manipulations to a specific peer
82 */
78struct TM_Peer; 83struct TM_Peer;
79 84
80 85/**
81 86 * Entry in the delay queue for an outbound delayed message
87 */
82struct DelayQueueEntry 88struct DelayQueueEntry
83{ 89{
84 struct DelayQueueEntry *prev; 90 struct DelayQueueEntry *prev;
@@ -92,6 +98,9 @@ struct DelayQueueEntry
92 void *cont_cls; 98 void *cont_cls;
93}; 99};
94 100
101/**
102 * Struct containing information about manipulations to a specific peer
103 */
95struct TM_Peer 104struct TM_Peer
96{ 105{
97 struct GNUNET_PeerIdentity peer; 106 struct GNUNET_PeerIdentity peer;
@@ -525,6 +534,10 @@ free_tmps (void *cls,
525 return GNUNET_OK; 534 return GNUNET_OK;
526} 535}
527 536
537
538/**
539 * Stop traffic manipulation
540 */
528void 541void
529GST_manipulation_stop () 542GST_manipulation_stop ()
530{ 543{