/* Used to track log segments that are being written to the cloud. */
typedef struct {
- BlueSkyRCStr *data;
+ BlueSkyFS *fs;
+ char *key; /* File name for log segment in backend */
+ GString *raw_data; /* Data before encryption */
+ BlueSkyRCStr *data; /* Data after encryption */
GSList *items;
GMutex *lock;
GCond *cond;
/* Merging of log state with the work of the cleaner. */
void bluesky_cleaner_merge(BlueSkyFS *fs);
+void bluesky_cleaner_thread_launch(BlueSkyFS *fs);
#ifdef __cplusplus
}