aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pe.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-11 16:23:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-11 16:23:52 +0000
commit64821d4ae43b03b30de3dd136137598c0d5a2ab2 (patch)
tree1ed54d5721882d5f1e6bf225616d202d9d8a7b08 /src/fs/gnunet-service-fs_pe.h
parentd984e2895f96f67fe2c44f27cdacfbb404485ada (diff)
downloadgnunet-64821d4ae43b03b30de3dd136137598c0d5a2ab2.tar.gz
gnunet-64821d4ae43b03b30de3dd136137598c0d5a2ab2.zip
stuff
Diffstat (limited to 'src/fs/gnunet-service-fs_pe.h')
-rw-r--r--src/fs/gnunet-service-fs_pe.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/fs/gnunet-service-fs_pe.h b/src/fs/gnunet-service-fs_pe.h
index d70001356..14e9dec2e 100644
--- a/src/fs/gnunet-service-fs_pe.h
+++ b/src/fs/gnunet-service-fs_pe.h
@@ -39,8 +39,7 @@
39 */ 39 */
40void 40void
41GSF_plan_add_ (const struct GSF_ConnectedPeer *cp, 41GSF_plan_add_ (const struct GSF_ConnectedPeer *cp,
42 struct GSF_PendingRequest *pr, 42 struct GSF_PendingRequest *pr);
43 GNUNET_CONTAINER_HeapCostType weight);
44 43
45 44
46/** 45/**
@@ -64,27 +63,6 @@ GSF_plan_notify_request_done_ (const struct GSF_PendingRequest *pr);
64 63
65 64
66/** 65/**
67 * Get the lowest-weight entry for the respective peer
68 * from the plan. Removes the entry from the plan's queue.
69 *
70 * @param cp connected peer to query for the next request
71 * @return NULL if the queue for this peer is empty
72 */
73struct GSF_PendingRequest *
74GSF_plan_get_ (const struct GSF_ConnectedPeer *cp);
75
76
77/**
78 * Get the size of the request queue for the given peer.
79 *
80 * @param cp connected peer to query
81 * @return number of entries in this peer's request queue
82 */
83unsigned int
84GSF_plan_size_ (const struct GSF_ConnectedPeer *cp);
85
86
87/**
88 * Initialize plan subsystem. 66 * Initialize plan subsystem.
89 */ 67 */
90void 68void