diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-30 13:51:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-30 13:51:36 +0000 |
commit | e6b08db0728b172da76392967661c09e7bfdbb55 (patch) | |
tree | e3a3709f75600c088bff4147fe8ddfa34baf58ad /src/fs/fs.h | |
parent | e67c5886c645a5fda7753d3f72f62ea655d6655b (diff) | |
download | gnunet-e6b08db0728b172da76392967661c09e7bfdbb55.tar.gz gnunet-e6b08db0728b172da76392967661c09e7bfdbb55.zip |
towards unindex deserialization
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 2e870bb3b..7100b1657 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -675,6 +675,19 @@ GNUNET_FS_publish_make_status_ (struct GNUNET_FS_ProgressInfo *pi, | |||
675 | 675 | ||
676 | 676 | ||
677 | /** | 677 | /** |
678 | * Remove serialization/deserialization file from disk. | ||
679 | * | ||
680 | * @param h master context | ||
681 | * @param ext component of the path | ||
682 | * @param ent entity identifier | ||
683 | */ | ||
684 | void | ||
685 | GNUNET_FS_remove_sync_file_ (struct GNUNET_FS_Handle *h, | ||
686 | const char *ext, | ||
687 | const char *ent); | ||
688 | |||
689 | |||
690 | /** | ||
678 | * Synchronize this file-information struct with its mirror | 691 | * Synchronize this file-information struct with its mirror |
679 | * on disk. Note that all internal FS-operations that change | 692 | * on disk. Note that all internal FS-operations that change |
680 | * file information data should already call "sync" internally, | 693 | * file information data should already call "sync" internally, |
@@ -938,6 +951,11 @@ struct GNUNET_FS_UnindexContext | |||
938 | char *filename; | 951 | char *filename; |
939 | 952 | ||
940 | /** | 953 | /** |
954 | * Short name under which we are serializing the state of this operation. | ||
955 | */ | ||
956 | char *serialization; | ||
957 | |||
958 | /** | ||
941 | * Connection to the FS service, only valid during the | 959 | * Connection to the FS service, only valid during the |
942 | * UNINDEX_STATE_FS_NOTIFY phase. | 960 | * UNINDEX_STATE_FS_NOTIFY phase. |
943 | */ | 961 | */ |