Sming Framework API
()
Toggle main menu visibility
Sming
Components
IFS
src
include
IFS
Extent.h
Go to the documentation of this file.
1
/****
2
* Extent.h
3
*
4
* Copyright 2023 mikee47 <mike@sillyhouse.net>
5
*
6
* This file is part of the IFS Library
7
*
8
* This library is free software: you can redistribute it and/or modify it under the terms of the
9
* GNU General Public License as published by the Free Software Foundation, version 3 or later.
10
*
11
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
* See the GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along with this library.
16
* If not, see <https://www.gnu.org/licenses/>.
17
*
18
****/
19
20
#pragma once
21
22
#include <
Storage/Types.h
>
23
24
namespace
IFS
25
{
40
struct
Extent {
41
storage_size_t
offset
;
42
uint32_t
length
;
43
uint16_t
skip
;
44
uint16_t
repeat
;
45
};
46
47
}
// namespace IFS
IFS::Extent::repeat
uint16_t repeat
Number of repeats.
Definition:
Extent.h:78
IFS
Definition:
DirectoryTemplate.h:36
IFS::Extent::skip
uint16_t skip
Skip bytes to next repeat.
Definition:
Extent.h:77
Types.h
uint16_t
IFS::Extent::offset
storage_size_t offset
From start of partition.
Definition:
Extent.h:75
storage_size_t
uint32_t storage_size_t
Definition:
Components/Storage/src/include/Storage/Types.h:19
IFS::Extent::length
uint32_t length
In bytes.
Definition:
Extent.h:76
Generated by
1.8.17