diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-30 12:37:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-30 12:37:39 +0000 |
commit | 200be29edf8956741de7d03f65a9b3aec407d2ce (patch) | |
tree | 0f11e27ee967f18ebdf7f43efbe025f0254f11ab /src/fs/fs.h | |
parent | 1cc43d608117c035c4986cf6b306b876e84a700e (diff) | |
download | gnunet-200be29edf8956741de7d03f65a9b3aec407d2ce.tar.gz gnunet-200be29edf8956741de7d03f65a9b3aec407d2ce.zip |
publish serialization stuff
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 17 |
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 | |||
624 | GNUNET_FS_file_information_sync_ (struct GNUNET_FS_FileInformation *f); | 624 | GNUNET_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 | */ | ||
635 | void | ||
636 | GNUNET_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; |