- fixed string to address parsing
[oweals/gnunet.git] / src / include / gnunet_fs_service.h
index 907fdf53525a55b8d30f134c7119faff76048cde..1f1e60f0f713c605aebd2fe49a8d7a5bc05100ce 100644 (file)
@@ -72,8 +72,6 @@ extern "C"
  */
 struct GNUNET_FS_Uri;
 
-struct GNUNET_FS_DirScanner;
-
 /**
  * Iterator over keywords
  *
@@ -1822,7 +1820,11 @@ GNUNET_FS_file_information_create_from_data (struct GNUNET_FS_Handle *h,
  * @param cls closure
  * @param offset offset to read from; it is possible
  *            that the caller might need to go backwards
- *            a bit at times
+ *            a bit at times; set to UINT64_MAX to tell
+ *            the reader that we won't be reading for a while
+ *            (used to close the file descriptor but NOT fully
+ *             clean up the reader's state); in this case,
+ *            a value of '0' for max should be ignored
  * @param max maximum number of bytes that should be
  *            copied to buf; readers are not allowed
  *            to provide less data unless there is an error;
@@ -2197,7 +2199,7 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h,
 /**
  * Abort the namespace advertisement operation.
  *
- * @param pkc context of the operation to abort.
+ * @param ac context of the operation to abort.
  */
 void
 GNUNET_FS_namespace_advertise_cancel (struct GNUNET_FS_AdvertisementContext *ac);