diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-08-29 21:17:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-08-29 21:17:42 +0000 |
commit | 3d21cc1bc80d087ebe2be0dda53ac829b8649a84 (patch) | |
tree | d90c92f4577cb8ea76d2cc24bde562ae0c9278ed /src/fs/fs.h | |
parent | ed862616e67f64a59a57b1a770f40a6634af00f0 (diff) | |
download | gnunet-3d21cc1bc80d087ebe2be0dda53ac829b8649a84.tar.gz gnunet-3d21cc1bc80d087ebe2be0dda53ac829b8649a84.zip |
finish publish shutdown code
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 3f1ffad30..66190a42d 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -430,6 +430,21 @@ struct GNUNET_FS_PublishContext | |||
430 | GNUNET_SCHEDULER_TaskIdentifier upload_task; | 430 | GNUNET_SCHEDULER_TaskIdentifier upload_task; |
431 | 431 | ||
432 | /** | 432 | /** |
433 | * Typically GNUNET_NO. Set to GNUNET_YES if | ||
434 | * "upload_task" is GNUNET_SCHEDULER_NO_TASK | ||
435 | * and we're waiting for a response from the | ||
436 | * datastore service (in which case this | ||
437 | * struct must not be freed until we have that | ||
438 | * response). If someone tries to stop the | ||
439 | * download for good during this period, | ||
440 | * "in_network_wait" is set to GNUNET_SYSERR | ||
441 | * which will cause the struct to be destroyed | ||
442 | * right after we have the reply (or timeout) | ||
443 | * from the datastore service. | ||
444 | */ | ||
445 | int in_network_wait; | ||
446 | |||
447 | /** | ||
433 | * Current position in the file-tree for the | 448 | * Current position in the file-tree for the |
434 | * upload. | 449 | * upload. |
435 | */ | 450 | */ |