aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r--src/fs/fs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h
index 50306851e..fa36b8f02 100644
--- a/src/fs/fs.h
+++ b/src/fs/fs.h
@@ -624,6 +624,18 @@ void
624GNUNET_FS_file_information_sync_ (struct GNUNET_FS_FileInformation *f); 624GNUNET_FS_file_information_sync_ (struct GNUNET_FS_FileInformation *f);
625 625
626 626
627/**
628 * Synchronize this publishing struct with its mirror
629 * on disk. Note that all internal FS-operations that change
630 * publishing structs should already call "sync" internally,
631 * so this function is likely not useful for clients.
632 *
633 * @param pc the struct to sync
634 */
635void
636GNUNET_FS_publish_sync_ (struct GNUNET_FS_PublishContext *pc);
637
638
627 639
628/** 640/**
629 * Master context for most FS operations. 641 * Master context for most FS operations.
@@ -1352,6 +1364,11 @@ struct GNUNET_FS_Namespace
1352 char *filename; 1364 char *filename;
1353 1365
1354 /** 1366 /**
1367 * Name of the namespace.
1368 */
1369 char *name;
1370
1371 /**
1355 * Reference counter. 1372 * Reference counter.
1356 */ 1373 */
1357 unsigned int rc; 1374 unsigned int rc;