Loading...
Searching...
No Matches
bplib_stor_vfs.h File Reference

Generic functions for vfs based storage. More...

Detailed Description

Generic functions for vfs based storage.

Author
Simon Grund mail@.nosp@m.simo.nosp@m.ngrun.nosp@m.d.de

Definition in file bplib_stor_vfs.h.

#include <stdint.h>
+ Include dependency graph for bplib_stor_vfs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_BPLIB_EGRESS_CACHE_LEN   (8)
 Number of bundle references to be cached.
 
#define CONFIG_BPLIB_STOR_BASE   "/nvm0/bp"
 Base folder to store bundles into.
 
#define BPLIB_STOR_BASELEN   (sizeof(CONFIG_BPLIB_STOR_BASE) - 1)
 Length of CONFIG_BPLIB_STOR_BASE without terminator.
 

Functions

void bplib_stor_vfs_contact_changed (uint32_t contact_index)
 Notify the storage implementation to clear the cache for the given contact.
 
void bplib_stor_vfs_channel_changed (uint32_t channel_index)
 Notify the storage implementation to clear the cache for the given channel.