sofs19  0.1
FUSE based file system
binselection.h File Reference

The bin IDs selection toolkit. More...

#include <inttypes.h>

Go to the source code of this file.

Functions

void soBinSetIDs (uint32_t lower, uint32_t upper)
 Set bin configuration map. More...
 
void soBinAddIDs (uint32_t lower, uint32_t upper)
 Add bin ID range to the current bin configuration map. More...
 
void soBinRemoveIDs (uint32_t lower, uint32_t upper)
 Remove bin ID range from the current bin configuration map. More...
 
bool soBinSelected (uint32_t id)
 Check if given ID is activated. More...
 

Detailed Description

The bin IDs selection toolkit.

This toolkit provides a simple way to select what binary version of the functions to use in a given moment. The selection can be done in run time. The IDs of the functions are the same used by the probing system.

Author
Artur Pereira - 2019
Remarks
In case an error occurs, every function throws an error code (an int)