~aleteoryx/muditaos

ref: master muditaos/host-tools/genlittlefs/lfs_ioaccess.h -rw-r--r-- 583 bytes
2cd0e472 — Lefucjusz [BH-000] Update Harmony 2.10.0 changelog 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md

#pragma once

struct lfs_config;
struct partition;

struct lfs_ioaccess_context;

struct lfs_ioaccess_context *lfs_ioaccess_open(struct lfs_config *cfg,
                                               const char *filename,
                                               const struct partition *partition);

int lfs_ioaccess_close(struct lfs_ioaccess_context *ctx);

int lfs_ioaccess_is_lfs_filesystem(struct lfs_ioaccess_context *ctx);