aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-30 15:20:02 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-30 15:20:02 +0000
commit4647e06936db32a1829223e48eb3d6b6a52b0c3d (patch)
treececf4c425161d04a41254eed1ba534b019737abf /src/include/gnunet_fs_service.h
parent40b50b568b0c74d168b4b009c8f528568bfe8ac1 (diff)
downloadgnunet-4647e06936db32a1829223e48eb3d6b6a52b0c3d.tar.gz
gnunet-4647e06936db32a1829223e48eb3d6b6a52b0c3d.zip
-towards allowing probes for directory entries
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 32f7dad40..d1859fa05 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -2775,6 +2775,33 @@ void
2775GNUNET_FS_search_stop (struct GNUNET_FS_SearchContext *sc); 2775GNUNET_FS_search_stop (struct GNUNET_FS_SearchContext *sc);
2776 2776
2777 2777
2778/**
2779 * Start download probes for the given search result.
2780 *
2781 * @param h file-sharing handle to use for the operation
2782 * @param uri URI to probe
2783 * @param meta meta data associated with the URI
2784 * @param client_info client info pointer to use for associated events
2785 * @param anonymity anonymity level to use for the probes
2786 * @return the search result handle to access the probe activity
2787 */
2788struct GNUNET_FS_SearchResult *
2789GNUNET_FS_probe (struct GNUNET_FS_Handle *h,
2790 const struct GNUNET_FS_Uri *uri,
2791 const struct GNUNET_CONTAINER_MetaData *meta,
2792 void *client_info,
2793 uint32_t anonymity);
2794
2795
2796/**
2797 * Stop probe activity. Must ONLY be used on values
2798 * returned from 'GNUNET_FS_probe'.
2799 *
2800 * @param sr search result to stop probing for (freed)
2801 * @return the value of the 'client_info' pointer
2802 */
2803void *
2804GNUNET_FS_probe_stop (struct GNUNET_FS_SearchResult *sr);
2778 2805
2779 2806
2780/** 2807/**