[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6592 - GNUnet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6592 - GNUnet/src/include |
Date: |
Sat, 22 Mar 2008 00:28:45 -0600 (MDT) |
Author: grothoff
Date: 2008-03-22 00:28:45 -0600 (Sat, 22 Mar 2008)
New Revision: 6592
Modified:
GNUnet/src/include/fs.h
GNUnet/src/include/gnunet_ecrs_lib.h
GNUnet/src/include/gnunet_fsui_lib.h
Log:
fixing search pause resume issue
Modified: GNUnet/src/include/fs.h
===================================================================
--- GNUnet/src/include/fs.h 2008-03-22 06:15:12 UTC (rev 6591)
+++ GNUnet/src/include/fs.h 2008-03-22 06:28:45 UTC (rev 6592)
@@ -444,7 +444,7 @@
* If, after finding local results, we abort a GET
* iteration, we increment "have_more" by this value.
*/
-#define HAVE_MORE_INCREMENT 5
+#define HAVE_MORE_INCREMENT 32
/**
* What is the maximum number of local results
Modified: GNUnet/src/include/gnunet_ecrs_lib.h
===================================================================
--- GNUnet/src/include/gnunet_ecrs_lib.h 2008-03-22 06:15:12 UTC (rev
6591)
+++ GNUnet/src/include/gnunet_ecrs_lib.h 2008-03-22 06:28:45 UTC (rev
6592)
@@ -755,7 +755,8 @@
* limit the download to exactly those bytes.
*
* @param uri the URI of the file (determines what to download)
- * @param filename where to store the file
+ * @param filename where to store the file, maybe NULL (then no file is
+ * created on disk)
* @param no_temporaries set to GNUNET_YES to disallow generation of temporary
files
* @param start starting offset
* @param length length of the download (starting at offset)
@@ -774,7 +775,7 @@
dpcb, void *dpcbClosure);
/**
- * Stop a download (aborts if download is incomplete).
+ * Stop a download (aborts if download is incomplete).
*/
int
GNUNET_ECRS_file_download_partial_stop (struct GNUNET_ECRS_DownloadContext
Modified: GNUnet/src/include/gnunet_fsui_lib.h
===================================================================
--- GNUnet/src/include/gnunet_fsui_lib.h 2008-03-22 06:15:12 UTC (rev
6591)
+++ GNUnet/src/include/gnunet_fsui_lib.h 2008-03-22 06:28:45 UTC (rev
6592)
@@ -901,8 +901,13 @@
struct GNUNET_FSUI_DownloadList *GNUNET_FSUI_download_start (struct
GNUNET_FSUI_Context *ctx, unsigned int anonymityLevel, int doRecursive, const
struct GNUNET_ECRS_URI *uri, const struct GNUNET_ECRS_MetaData *meta, const
char *filename, struct GNUNET_FSUI_SearchList *parentSearch, struct
GNUNET_FSUI_DownloadList *parentDownload); /* download.c */
/**
- * Abort a download. If the dl is for a recursive
- * download, all sub-downloads will also be aborted.
+ * Abort a download. If the dl is for a recursive download, all
+ * sub-downloads will also be aborted. This will also delete all of
+ * the files associated with the download (except if the download has
+ * already completed, in which case GNUNET_NO will be returned). If
+ * this is a recursive download and some files have been completed,
+ * these files will not be removed (only incomplete downloads will be
+ * removed).
*
* @return GNUNET_SYSERR on error
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6592 - GNUnet/src/include,
gnunet <=