diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-26 15:25:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-26 15:25:27 +0000 |
commit | e6674963348824eb7d8bdfdc0e2d655ca9773a40 (patch) | |
tree | a46baf117e9b403de3ad618a3e5a85e2f616d278 /src/include | |
parent | 4868c316f36cbefb52e7823b7852a20373389a68 (diff) | |
download | gnunet-e6674963348824eb7d8bdfdc0e2d655ca9773a40.tar.gz gnunet-e6674963348824eb7d8bdfdc0e2d655ca9773a40.zip |
fully implement in-line files in directories
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_fs_service.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index f24b3d8b7..6926b537e 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -2255,6 +2255,10 @@ enum GNUNET_FS_DownloadOptions | |||
2255 | * @param meta known metadata for the file (can be NULL) | 2255 | * @param meta known metadata for the file (can be NULL) |
2256 | * @param filename where to store the file, maybe NULL (then no file is | 2256 | * @param filename where to store the file, maybe NULL (then no file is |
2257 | * created on disk and data must be grabbed from the callbacks) | 2257 | * created on disk and data must be grabbed from the callbacks) |
2258 | * @param tempname where to store temporary file data, not used if filename is non-NULL; | ||
2259 | * can be NULL (in which case we will pick a name if needed); the temporary file | ||
2260 | * may already exist, in which case we will try to use the data that is there and | ||
2261 | * if it is not what is desired, will overwrite it | ||
2258 | * @param offset at what offset should we start the download (typically 0) | 2262 | * @param offset at what offset should we start the download (typically 0) |
2259 | * @param length how many bytes should be downloaded starting at offset | 2263 | * @param length how many bytes should be downloaded starting at offset |
2260 | * @param anonymity anonymity level to use for the download | 2264 | * @param anonymity anonymity level to use for the download |
@@ -2269,6 +2273,7 @@ GNUNET_FS_download_start (struct GNUNET_FS_Handle *h, | |||
2269 | const struct GNUNET_FS_Uri *uri, | 2273 | const struct GNUNET_FS_Uri *uri, |
2270 | const struct GNUNET_CONTAINER_MetaData *meta, | 2274 | const struct GNUNET_CONTAINER_MetaData *meta, |
2271 | const char *filename, | 2275 | const char *filename, |
2276 | const char *tempname, | ||
2272 | uint64_t offset, | 2277 | uint64_t offset, |
2273 | uint64_t length, | 2278 | uint64_t length, |
2274 | uint32_t anonymity, | 2279 | uint32_t anonymity, |