blob: 730cd11026d6de81c065ce8e7f7a96bf244ca8c6 [file] [log] [blame]
with Interfaces;
with FS.FILO.Dev;
package body FS.FILO.Ext2 is
function Is_Mounted (State : T) return Boolean is (State.S >= Mounted);
function Is_Open (State : T) return Boolean is (State.S = File_Opened);
procedure Mount
(State : in out T;
Part_Len : in Partition_Length;
Success : out Boolean)
is
begin
Success := False;
end Mount;
procedure Open
(State : in out T;
File_Len : out File_Length;
File_Path : in String;
Success : out Boolean)
is
begin
File_Len := 0;
Success := False;
end Open;
procedure Close (State : in out T) is
begin
State.S := Mounted;
end Close;
procedure Read
(State : in out T;
File_Len : in File_Length;
File_Pos : in out File_Offset;
Buf : out Buffer_Type;
Len : out Natural)
is
begin
Buf := (others => 0);
Len := 0;
end Read;
end FS.FILO.Ext2;