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