aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_api.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-29 13:06:33 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-29 13:06:33 +0000
commitcfd880578bd21f9adedba557291c903d325e93cd (patch)
tree3f9c7459127646523b58905e345f290867f619f6 /src/fs/fs_api.h
parent3e558d2e9f22c96328d27e5cd35a5da3866e3543 (diff)
downloadgnunet-cfd880578bd21f9adedba557291c903d325e93cd.tar.gz
gnunet-cfd880578bd21f9adedba557291c903d325e93cd.zip
fixing #3799: only unindex if DB operations succeeded previously in the first place, and when unindexing do proper shutdown handling
Diffstat (limited to 'src/fs/fs_api.h')
-rw-r--r--src/fs/fs_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/fs_api.h b/src/fs/fs_api.h
index 5ff0c4f1d..9ecffb88d 100644
--- a/src/fs/fs_api.h
+++ b/src/fs/fs_api.h
@@ -1325,6 +1325,12 @@ struct GNUNET_FS_PublishContext
1325 int rid; 1325 int rid;
1326 1326
1327 /** 1327 /**
1328 * Set to #GNUNET_YES if we were able to publish any block.
1329 * (and thus unindexing on error might make sense).
1330 */
1331 int any_done;
1332
1333 /**
1328 * Set to #GNUNET_YES if all processing has completed. 1334 * Set to #GNUNET_YES if all processing has completed.
1329 */ 1335 */
1330 int all_done; 1336 int all_done;