-
Notifications
You must be signed in to change notification settings - Fork 0
/
fs-util.ads
49 lines (42 loc) · 2.38 KB
/
fs-util.ads
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-------------------------------------------------------------------------
-- --
-- RTEMS FILE-SYSTEM SUPPORT --
-- --
-- F S . U T I L --
-- --
-- S p e c i f i c a t i o n --
-- --
-- $ Revision: 1.0 $ --
-- --
-- Alejandro Villanueva Uribarri (Universidad de Zaragoza) --
-- --
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-- --
-------------------------------------------------------------------------
with fs.fs;
use fs.fs;
with Ada.Strings.Unbounded;
use Ada.Strings.Unbounded;
package fs.util is
procedure Get_BCD (The_File: in out File_Handler;
Sector: in out DWord;
The_Byte: in Byte;
Where: in out Integer;
The_Block: out Data_Block;
The_Number: out Natural;
Found: out Boolean);
procedure Get_String (The_File: in out File_Handler;
Sector: in out DWord;
The_Byte: in Byte;
Where: in out Integer;
The_Block: out Data_Block;
The_String: out Unbounded_String;
Found: out Boolean);
procedure Find_Byte (The_File: in out File_Handler;
Sector: in out DWord;
The_Byte: in Byte;
Where: in out Integer;
The_Block: out Data_Block;
Found: out Boolean);
end fs.util;