diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-03 13:47:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-03 13:47:56 +0000 |
commit | 8c23a185ee8d3c16c5552668dced851f82986041 (patch) | |
tree | 83f59d2190ffadcdc5643ba36578b2c6766b0e42 /src/fs/fs.h | |
parent | 1888cd7da7ae5e2c32faf66d3bef47ac7d225b35 (diff) | |
download | gnunet-8c23a185ee8d3c16c5552668dced851f82986041.tar.gz gnunet-8c23a185ee8d3c16c5552668dced851f82986041.zip |
changing datastore API to support replication level --- not fully implemented --- and adding GNUNET_FS_BlockOptions struct to replace prio/anonymity/expiration+replication args
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index ff769cfca..2040d035a 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -438,9 +438,9 @@ struct GNUNET_FS_FileInformation | |||
438 | struct GNUNET_FS_Uri *chk_uri; | 438 | struct GNUNET_FS_Uri *chk_uri; |
439 | 439 | ||
440 | /** | 440 | /** |
441 | * At what time should the content expire? | 441 | * Block options for the file. |
442 | */ | 442 | */ |
443 | struct GNUNET_TIME_Absolute expirationTime; | 443 | struct GNUNET_FS_BlockOptions bo; |
444 | 444 | ||
445 | /** | 445 | /** |
446 | * At what time did we start this upload? | 446 | * At what time did we start this upload? |
@@ -548,16 +548,6 @@ struct GNUNET_FS_FileInformation | |||
548 | } data; | 548 | } data; |
549 | 549 | ||
550 | /** | 550 | /** |
551 | * Desired anonymity level. | ||
552 | */ | ||
553 | uint32_t anonymity; | ||
554 | |||
555 | /** | ||
556 | * Desired priority (for keeping the content in the DB). | ||
557 | */ | ||
558 | uint32_t priority; | ||
559 | |||
560 | /** | ||
561 | * Is this struct for a file or directory? | 551 | * Is this struct for a file or directory? |
562 | */ | 552 | */ |
563 | int is_directory; | 553 | int is_directory; |