aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_api.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-30 13:04:02 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-30 13:04:02 +0000
commite80a0f007995572e8b1ab167de88b0a547841828 (patch)
tree46dc959ed7dbc53685f222fd8a3c6a381c9f3d44 /src/fs/fs_api.h
parentb37045470834cf349c8bdf31938823809e67bfb5 (diff)
downloadgnunet-e80a0f007995572e8b1ab167de88b0a547841828.tar.gz
gnunet-e80a0f007995572e8b1ab167de88b0a547841828.zip
-preparations for fixing #2711
Diffstat (limited to 'src/fs/fs_api.h')
-rw-r--r--src/fs/fs_api.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/fs/fs_api.h b/src/fs/fs_api.h
index 8d9c0b298..9e3e9e787 100644
--- a/src/fs/fs_api.h
+++ b/src/fs/fs_api.h
@@ -510,8 +510,6 @@ struct GNUNET_FS_QueueEntry
510}; 510};
511 511
512 512
513
514
515/** 513/**
516 * Information we store for each search result. 514 * Information we store for each search result.
517 */ 515 */
@@ -519,7 +517,13 @@ struct GNUNET_FS_SearchResult
519{ 517{
520 518
521 /** 519 /**
522 * Search context this result belongs to. 520 * File-sharing context this result belongs to.
521 */
522 struct GNUNET_FS_Handle *h;
523
524 /**
525 * Search context this result belongs to; can be NULL
526 * for probes that come from a directory result.
523 */ 527 */
524 struct GNUNET_FS_SearchContext *sc; 528 struct GNUNET_FS_SearchContext *sc;
525 529
@@ -819,11 +823,13 @@ GNUNET_FS_unindex_make_status_ (struct GNUNET_FS_ProgressInfo *pi,
819 * call the callback. 823 * call the callback.
820 * 824 *
821 * @param pi structure to fill in 825 * @param pi structure to fill in
826 * @param h file-sharing handle
822 * @param sc overall search context 827 * @param sc overall search context
823 * @return value returned by the callback 828 * @return value returned by the callback
824 */ 829 */
825void * 830void *
826GNUNET_FS_search_make_status_ (struct GNUNET_FS_ProgressInfo *pi, 831GNUNET_FS_search_make_status_ (struct GNUNET_FS_ProgressInfo *pi,
832 struct GNUNET_FS_Handle *h,
827 struct GNUNET_FS_SearchContext *sc); 833 struct GNUNET_FS_SearchContext *sc);
828 834
829 835
@@ -1992,6 +1998,9 @@ struct NamespaceUpdateNode
1992}; 1998};
1993 1999
1994 2000
2001/**
2002 * Handle to one of our namespaces.
2003 */
1995struct GNUNET_FS_Namespace 2004struct GNUNET_FS_Namespace
1996{ 2005{
1997 2006