blob: 183b1f7c928117c2e93fb88a40176fdc5268363d [file] [log] [blame]
Nico Huber3a5cd8c2023-11-27 17:38:06 +01001with Interfaces;
2with Interfaces.C;
3
4use Interfaces.C;
5
Thomas Heijligen5c43abc2023-12-11 15:24:36 +00006package FILO.FS is
Thomas Heijligend1e04572023-11-27 14:28:55 +00007
Nico Huber3a5cd8c2023-11-27 17:38:06 +01008 type File_Length is range 0 .. int'Last; -- Should be higher, fix FILO first
Nico Huberf9839312023-12-04 15:20:43 +01009 subtype File_Offset is File_Length;
Nico Huber3a5cd8c2023-11-27 17:38:06 +010010
Nico Huber51f60412023-12-04 14:48:11 +010011private
12 function Part_Len return Partition_Length;
13
Nico Huber3a5cd8c2023-11-27 17:38:06 +010014 function File_Max return File_Length;
15 procedure Set_File_Max (Len : File_Length);
16
17 function File_Pos return File_Offset;
18 procedure Set_File_Pos (Off : File_Offset);
19
Thomas Heijligen5c43abc2023-12-11 15:24:36 +000020end FILO.FS;