aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pr.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-02-15 15:30:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-02-15 15:30:06 +0000
commitd5c5c5b962115be085a1cc71a0480d7e2a3eda73 (patch)
tree96bdd8c004a00556ac9df07393aecf17f723636e /src/fs/gnunet-service-fs_pr.h
parent0ad72d359ab3ea5f232f4a8a0eb04700e8c84b49 (diff)
downloadgnunet-d5c5c5b962115be085a1cc71a0480d7e2a3eda73.tar.gz
gnunet-d5c5c5b962115be085a1cc71a0480d7e2a3eda73.zip
stuff
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.h')
-rw-r--r--src/fs/gnunet-service-fs_pr.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/fs/gnunet-service-fs_pr.h
index 2cb7cb843..4357565c7 100644
--- a/src/fs/gnunet-service-fs_pr.h
+++ b/src/fs/gnunet-service-fs_pr.h
@@ -112,6 +112,11 @@ struct GSF_PendingRequestData
112 uint32_t priority; 112 uint32_t priority;
113 113
114 /** 114 /**
115 * Priority that this request (originally) had for us.
116 */
117 uint32_t original_priority;
118
119 /**
115 * Options for the request. 120 * Options for the request.
116 */ 121 */
117 enum GSF_PendingRequestOptions options; 122 enum GSF_PendingRequestOptions options;
@@ -122,6 +127,11 @@ struct GSF_PendingRequestData
122 enum GNUNET_BLOCK_Type type; 127 enum GNUNET_BLOCK_Type type;
123 128
124 /** 129 /**
130 * Number of results we have found for this request so far.
131 */
132 unsigned int results_found;
133
134 /**
125 * Is the 'target' value set to a valid peer identity? 135 * Is the 'target' value set to a valid peer identity?
126 */ 136 */
127 int has_target; 137 int has_target;
@@ -182,7 +192,7 @@ GSF_pending_request_create_ (enum GSF_PendingRequestOptions options,
182 const struct GNUNET_PeerIdentity *target, 192 const struct GNUNET_PeerIdentity *target,
183 const char *bf_data, 193 const char *bf_data,
184 size_t bf_size, 194 size_t bf_size,
185 int32_t mingle, 195 uint32_t mingle,
186 uint32_t anonymity_level, 196 uint32_t anonymity_level,
187 uint32_t priority, 197 uint32_t priority,
188 int32_t ttl, 198 int32_t ttl,