Added files which were forgotten with commit 32bfa95. Thanks Daniel Pielmeier.

This commit is contained in:
2025-03-27 21:46:13 +01:00
parent 1098709bf4
commit 9d20fbde69
3 changed files with 352 additions and 1 deletions

View File

@ -191,5 +191,27 @@ int Permstack_peek(struct PermiteM **o, struct PermiteM *stopper,
char *disk_path, struct stat **stbuf, int *chattr_flags,
int flag);
struct NumbermappeR; /* interval driven number conversion up to 2 exp 60 */
int Numbermapper_new(struct NumbermappeR **o, off_t min, off_t max, int flag);
int Numbermapper_destroy(struct NumbermappeR **o, int flag);
int Numbermapper_add(struct NumbermappeR *o, off_t from_low, off_t from_high,
off_t to_low, off_t to_high, int flag);
int Numbermapper_map(struct NumbermappeR *o, off_t from, off_t *to, int flag);
int Numbermapper_decode(struct NumbermappeR *o, char *text,
off_t *from_low, off_t *from_high,
off_t *to_low, off_t *to_high,
char *errmsg, int flag);
int Numbermapper_get_count(struct NumbermappeR *o, int flag);
int Numbermapper_encode(struct NumbermappeR *o, int idx, char *text, int size,
int flag);
#endif /* ! Xorriso_pvt_auxobj_includeD */