mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* misc RegionMap and key store methods
This commit is contained in:
parent
03fc949014
commit
f797744f7c
4 changed files with 130 additions and 22 deletions
|
|
@ -33,7 +33,11 @@ public:
|
|||
void load(FILESYSTEM* _fs);
|
||||
void save(FILESYSTEM* _fs);
|
||||
|
||||
RegionEntry* putRegion(const char* name, uint16_t parent_id);
|
||||
RegionEntry* findMatch(mesh::Packet* packet, uint8_t mask);
|
||||
const RegionEntry& getWildcard() const { return wildcard; }
|
||||
const RegionEntry* findName(const char* name) const;
|
||||
RegionEntry& getWildcard() { return wildcard; }
|
||||
RegionEntry* findByName(const char* name);
|
||||
RegionEntry* findById(uint16_t id);
|
||||
bool removeRegion(const RegionEntry& region);
|
||||
bool clear();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue