aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r--src/fs/fs.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h
index e3b3bc99d..77a73c3d6 100644
--- a/src/fs/fs.h
+++ b/src/fs/fs.h
@@ -955,6 +955,26 @@ struct GNUNET_FS_DownloadContext
955 struct GNUNET_FS_DownloadContext *parent; 955 struct GNUNET_FS_DownloadContext *parent;
956 956
957 /** 957 /**
958 * Head of list of child downloads.
959 */
960 struct GNUNET_FS_DownloadContext *child_head;
961
962 /**
963 * Tail of list of child downloads.
964 */
965 struct GNUNET_FS_DownloadContext *child_tail;
966
967 /**
968 * Previous download belonging to the same parent.
969 */
970 struct GNUNET_FS_DownloadContext *prev;
971
972 /**
973 * Next download belonging to the same parent.
974 */
975 struct GNUNET_FS_DownloadContext *next;
976
977 /**
958 * Context kept for the client. 978 * Context kept for the client.
959 */ 979 */
960 void *client_info; 980 void *client_info;
@@ -982,6 +1002,13 @@ struct GNUNET_FS_DownloadContext
982 char *filename; 1002 char *filename;
983 1003
984 /** 1004 /**
1005 * Where are we writing the data temporarily (name of the
1006 * file, can be NULL!); used if we do not have a permanent
1007 * name and we are a directory and we do a recursive download.
1008 */
1009 char *temp_filename;
1010
1011 /**
985 * Map of active requests (those waiting 1012 * Map of active requests (those waiting
986 * for a response). The key is the hash 1013 * for a response). The key is the hash
987 * of the encryped block (aka query). 1014 * of the encryped block (aka query).