Skip to content
suit Artifact [9a1cc998b3]
Login

Artifact [9a1cc998b3]

Artifact 9a1cc998b3078d9220b6d5f6b3729d119407f70339325ab4cc63592f3bb6a6e3:


#ifndef SUIT_STORE_FS_H
#define SUIT_STORE_FS_H

#include "libfossil.h"

#include <stddef.h>

// Install suit's file storage on F: libfossil's own for everything except
// writing a file, which goes to a temporary name in the same folder, is
// synced, and is renamed over the file. A reader sees the old bytes or the
// new ones, never a mixture, and a failed write leaves no temporary file.
// Returns 0 or a libfossil result code.
int store_fs_install(fsl_cx *f);

#endif