aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_disk_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r--src/include/gnunet_disk_lib.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h
index 7f463b83e..49f2ece48 100644
--- a/src/include/gnunet_disk_lib.h
+++ b/src/include/gnunet_disk_lib.h
@@ -126,7 +126,19 @@ GNUNET_DISK_file_seek (const struct GNUNET_DISK_FileHandle *h, off_t offset,
126 * @return GNUNET_OK on success, GNUNET_SYSERR on error 126 * @return GNUNET_OK on success, GNUNET_SYSERR on error
127 */ 127 */
128int GNUNET_DISK_file_size (const char *filename, 128int GNUNET_DISK_file_size (const char *filename,
129 unsigned long long *size, int includeSymLinks); 129 unsigned long long *size, int includeSymLinks);
130
131
132/**
133 * Create an (empty) temporary file on disk.
134 *
135 * @param template component to use for the name;
136 * does NOT contain "XXXXXX" or "/tmp/".
137 * @return NULL on error, otherwise name of fresh
138 * file on disk in directory for temporary files
139 */
140char *
141GNUNET_DISK_mktemp (const char *template);
130 142
131 143
132/** 144/**