diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-09 12:20:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-09 12:20:38 +0000 |
commit | 0469252aa72449600e92cea94c16f9fb44eab059 (patch) | |
tree | 05c5cca9124052fbebc1ea4683ea558afd0d148d /src/fs/fs.h | |
parent | 1a452b2adb7c2dd78bd758e0cc1bad6c62875b2f (diff) | |
download | gnunet-0469252aa72449600e92cea94c16f9fb44eab059.tar.gz gnunet-0469252aa72449600e92cea94c16f9fb44eab059.zip |
perform reservation
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 5e55220fd..3a0b54d6f 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -1307,12 +1307,28 @@ struct GNUNET_FS_PublishContext | |||
1307 | struct GNUNET_DATASTORE_Handle *dsh; | 1307 | struct GNUNET_DATASTORE_Handle *dsh; |
1308 | 1308 | ||
1309 | /** | 1309 | /** |
1310 | * Queue entry for reservation/unreservation. | ||
1311 | */ | ||
1312 | struct GNUNET_DATASTORE_QueueEntry *qre; | ||
1313 | |||
1314 | /** | ||
1310 | * ID of the task performing the upload. NO_TASK if the upload has | 1315 | * ID of the task performing the upload. NO_TASK if the upload has |
1311 | * completed. | 1316 | * completed. |
1312 | */ | 1317 | */ |
1313 | GNUNET_SCHEDULER_TaskIdentifier upload_task; | 1318 | GNUNET_SCHEDULER_TaskIdentifier upload_task; |
1314 | 1319 | ||
1315 | /** | 1320 | /** |
1321 | * Storage space to reserve for the operation. | ||
1322 | */ | ||
1323 | uint64_t reserve_space; | ||
1324 | |||
1325 | /** | ||
1326 | * Overall number of entries to reserve for the | ||
1327 | * publish operation. | ||
1328 | */ | ||
1329 | uint32_t reserve_entries; | ||
1330 | |||
1331 | /** | ||
1316 | * Typically GNUNET_NO. Set to GNUNET_YES if "upload_task" is | 1332 | * Typically GNUNET_NO. Set to GNUNET_YES if "upload_task" is |
1317 | * GNUNET_SCHEDULER_NO_TASK and we're waiting for a response from | 1333 | * GNUNET_SCHEDULER_NO_TASK and we're waiting for a response from |
1318 | * the datastore service (in which case this struct must not be | 1334 | * the datastore service (in which case this struct must not be |