HKDF (does not work yet)
[oweals/gnunet.git] / src / include / gnunet_disk_lib.h
index fcb58ffeffbb0d4b2a29599c320588d1ed16c9af..980f142c5668ee5aa404c4dd72ffbd86d3bed9dd 100644 (file)
@@ -293,7 +293,10 @@ int GNUNET_DISK_file_get_identifiers (const char *filename,
  
 
 /**
- * Create an (empty) temporary file on disk.
+ * Create an (empty) temporary file on disk.  If the given name is not
+ * an absolute path, the current 'TMPDIR' will be prepended.  In any case,
+ * 6 random characters will be appended to the name to create a unique
+ * filename.
  * 
  * @param t component to use for the name;
  *        does NOT contain "XXXXXX" or "/tmp/".
@@ -455,7 +458,8 @@ struct GNUNET_DISK_DirectoryIterator;
  *
  * @param cls closure
  * @param di argument to pass to "GNUNET_DISK_directory_iterator_next" to
- *           get called on the next entry (or finish cleanly)
+ *           get called on the next entry (or finish cleanly);
+ *           NULL on error (will be the last call in that case)
  * @param filename complete filename (absolute path)
  * @param dirname directory name (absolute path)
  */