aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index a0425c9a1..103871e24 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -2465,66 +2465,6 @@ GNUNET_FS_download_stop (struct GNUNET_FS_DownloadContext *dc,
2465 int do_delete); 2465 int do_delete);
2466 2466
2467 2467
2468/**
2469 * Initialize collection.
2470 *
2471 * @param h handle to the file sharing subsystem
2472 * @param namespace namespace to use for the collection
2473 * @return GNUNET_OK on success, GNUNET_SYSERR if another
2474 * namespace is already set for our collection
2475 */
2476int
2477GNUNET_FS_collection_start (struct GNUNET_FS_Handle *h,
2478 struct GNUNET_FS_Namespace *namespace);
2479
2480
2481/**
2482 * Stop collection.
2483 *
2484 * @param h handle to the file sharing subsystem
2485 * @return GNUNET_OK on success, GNUNET_SYSERR if no collection is active
2486 */
2487int
2488GNUNET_FS_collection_stop (struct GNUNET_FS_Handle *h);
2489
2490
2491/**
2492 * Are we using a collection?
2493 *
2494 * @param h handle to the file sharing subsystem
2495 * @return NULL if there is no collection,
2496 */
2497struct GNUNET_FS_Namespace *
2498GNUNET_FS_collection_get(struct GNUNET_FS_Handle *h);
2499
2500
2501/**
2502 * Publish an update of the current collection information to the
2503 * network now. The function has no effect if the collection has not
2504 * changed since the last publication. If we are currently not
2505 * collecting, this function does nothing.
2506 *
2507 * @param h handle to the file sharing subsystem
2508 */
2509void GNUNET_FS_collection_publish (struct GNUNET_FS_Handle *h);
2510
2511
2512/**
2513 * If we are currently building a collection, publish the given file
2514 * information in that collection. If we are currently not
2515 * collecting, this function does nothing.
2516 *
2517 * @param h handle to the file sharing subsystem
2518 * @param uri uri to add to the collection
2519 * @param meta metadata for the uri
2520 */
2521void GNUNET_FS_collection_add (const struct GNUNET_FS_Handle *h,
2522 const struct GNUNET_FS_Uri *uri,
2523 const struct GNUNET_CONTAINER_MetaData *meta);
2524
2525
2526
2527
2528 2468
2529/* ******************** Directory API *********************** */ 2469/* ******************** Directory API *********************** */
2530 2470