aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-03-01 02:35:16 +0000
committerBart Polot <bart@net.in.tum.de>2013-03-01 02:35:16 +0000
commitd89166c7aae06760f730d17718f463535ee34915 (patch)
treed5b0cffb16c8caaf42a29cec4ff8e7697d802d82 /src
parenta7ff495aa46d0dee5aadd53401d0f00d3cc2177d (diff)
downloadgnunet-d89166c7aae06760f730d17718f463535ee34915.tar.gz
gnunet-d89166c7aae06760f730d17718f463535ee34915.zip
- path log documentation, style
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_dht_service.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index 0de7551a4..7fa100679 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -164,14 +164,14 @@ typedef void (*GNUNET_DHT_PutContinuation)(void *cls,
164 */ 164 */
165struct GNUNET_DHT_PutHandle * 165struct GNUNET_DHT_PutHandle *
166GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, 166GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle,
167 const struct GNUNET_HashCode * key, 167 const struct GNUNET_HashCode * key,
168 uint32_t desired_replication_level, 168 uint32_t desired_replication_level,
169 enum GNUNET_DHT_RouteOption options, 169 enum GNUNET_DHT_RouteOption options,
170 enum GNUNET_BLOCK_Type type, 170 enum GNUNET_BLOCK_Type type,
171 size_t size, const void *data, 171 size_t size, const void *data,
172 struct GNUNET_TIME_Absolute exp, 172 struct GNUNET_TIME_Absolute exp,
173 struct GNUNET_TIME_Relative timeout, 173 struct GNUNET_TIME_Relative timeout,
174 GNUNET_DHT_PutContinuation cont, 174 GNUNET_DHT_PutContinuation cont,
175 void *cont_cls); 175 void *cont_cls);
176 176
177 177
@@ -198,8 +198,10 @@ GNUNET_DHT_put_cancel (struct GNUNET_DHT_PutHandle *ph);
198 * @param exp when will this value expire 198 * @param exp when will this value expire
199 * @param key key of the result 199 * @param key key of the result
200 * @param get_path peers on reply path (or NULL if not recorded) 200 * @param get_path peers on reply path (or NULL if not recorded)
201 * [0] = datastore's first neighbor, [length - 1] = local peer
201 * @param get_path_length number of entries in get_path 202 * @param get_path_length number of entries in get_path
202 * @param put_path peers on the PUT path (or NULL if not recorded) 203 * @param put_path peers on the PUT path (or NULL if not recorded)
204 * [0] = origin, [length - 1] = datastore
203 * @param put_path_length number of entries in get_path 205 * @param put_path_length number of entries in get_path
204 * @param type type of the result 206 * @param type type of the result
205 * @param size number of bytes in data 207 * @param size number of bytes in data
@@ -237,11 +239,11 @@ typedef void (*GNUNET_DHT_GetIterator) (void *cls,
237struct GNUNET_DHT_GetHandle * 239struct GNUNET_DHT_GetHandle *
238GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, 240GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle,
239 enum GNUNET_BLOCK_Type type, 241 enum GNUNET_BLOCK_Type type,
240 const struct GNUNET_HashCode *key, 242 const struct GNUNET_HashCode *key,
241 uint32_t desired_replication_level, 243 uint32_t desired_replication_level,
242 enum GNUNET_DHT_RouteOption options, 244 enum GNUNET_DHT_RouteOption options,
243 const void *xquery, size_t xquery_size, 245 const void *xquery, size_t xquery_size,
244 GNUNET_DHT_GetIterator iter, void *iter_cls); 246 GNUNET_DHT_GetIterator iter, void *iter_cls);
245 247
246 248
247/** 249/**