diff options
author | t3sserakt <t3ss@posteo.de> | 2022-10-05 13:35:00 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2022-10-05 13:35:00 +0200 |
commit | 8e4312d5e44a83e2baeb3fc15465b5e70919e6cf (patch) | |
tree | e4fe3388c0c18d9fa025c95820089d4ec5a801d4 /src/fs/gnunet-service-fs_indexing.c | |
parent | 247230d737e3e4709392148bfabbde25871b6914 (diff) | |
parent | 95fd039097d261626916cfc260a06a29d3d4fc15 (diff) | |
download | gnunet-8e4312d5e44a83e2baeb3fc15465b5e70919e6cf.tar.gz gnunet-8e4312d5e44a83e2baeb3fc15465b5e70919e6cf.zip |
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.c')
-rw-r--r-- | src/fs/gnunet-service-fs_indexing.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index f4d560176..b88cbe365 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -246,26 +246,6 @@ remove_cont (void *cls, | |||
246 | } | 246 | } |
247 | 247 | ||
248 | 248 | ||
249 | /** | ||
250 | * We've received an on-demand encoded block from the datastore. | ||
251 | * Attempt to do on-demand encoding and (if successful), call the | ||
252 | * continuation with the resulting block. On error, clean up and ask | ||
253 | * the datastore for more results. | ||
254 | * | ||
255 | * @param key key for the content | ||
256 | * @param size number of bytes in data | ||
257 | * @param data content stored | ||
258 | * @param type type of the content | ||
259 | * @param priority priority of the content | ||
260 | * @param anonymity anonymity-level for the content | ||
261 | * @param replication replication-level for the content | ||
262 | * @param expiration expiration time for the content | ||
263 | * @param uid unique identifier for the datum; | ||
264 | * maybe 0 if no unique identifier is available | ||
265 | * @param cont function to call with the actual block (at most once, on success) | ||
266 | * @param cont_cls closure for cont | ||
267 | * @return GNUNET_OK on success | ||
268 | */ | ||
269 | int | 249 | int |
270 | GNUNET_FS_handle_on_demand_block (const struct GNUNET_HashCode *key, | 250 | GNUNET_FS_handle_on_demand_block (const struct GNUNET_HashCode *key, |
271 | uint32_t size, | 251 | uint32_t size, |
@@ -501,12 +481,6 @@ GNUNET_FS_indexing_done () | |||
501 | } | 481 | } |
502 | 482 | ||
503 | 483 | ||
504 | /** | ||
505 | * Initialize the indexing submodule. | ||
506 | * | ||
507 | * @param c configuration to use | ||
508 | * @param d datastore to use | ||
509 | */ | ||
510 | int | 484 | int |
511 | GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, | 485 | GNUNET_FS_indexing_init (const struct GNUNET_CONFIGURATION_Handle *c, |
512 | struct GNUNET_DATASTORE_Handle *d) | 486 | struct GNUNET_DATASTORE_Handle *d) |