Loading...
Searching...
No Matches
bplib_stor_vfs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Hamburg University of Technology (TUHH)
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
22
23#include <stdint.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
35#ifndef CONFIG_BPLIB_EGRESS_CACHE_LEN
36# define CONFIG_BPLIB_EGRESS_CACHE_LEN (8)
37#endif
38
40#ifndef CONFIG_BPLIB_STOR_BASE
41# define CONFIG_BPLIB_STOR_BASE "/nvm0/bp"
42#endif
43
45#define BPLIB_STOR_BASELEN (sizeof(CONFIG_BPLIB_STOR_BASE) - 1)
46
50void bplib_stor_vfs_contact_changed(uint32_t contact_index);
51
55void bplib_stor_vfs_channel_changed(uint32_t channel_index);
56
57#ifdef __cplusplus
58}
59#endif
60
void bplib_stor_vfs_channel_changed(uint32_t channel_index)
Notify the storage implementation to clear the cache for the given channel.
void bplib_stor_vfs_contact_changed(uint32_t contact_index)
Notify the storage implementation to clear the cache for the given contact.