• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
3  *
4  * HDF is dual licensed: you can use it either under the terms of
5  * the GPL, or the BSD license, at your option.
6  * See the LICENSE file in the root of this repository for complete details.
7  */
8 
9 #ifndef STORAGE_H
10 #define STORAGE_H
11 
12 #include "hdf_base.h"
13 
14 #ifdef __cplusplus
15 #if __cplusplus
16 extern "C" {
17 #endif
18 #endif /* __cplusplus */
19 
20 #define STORAGE_MAX_BYTES ((size_t)(-1))
21 
22 enum StorageType {
23     MEDIA_MMC = 0,
24     MEDIA_MTD = 1,
25     MEDIA_ERR = 2,
26 };
27 
28 #ifdef __cplusplus
29 #if __cplusplus
30 }
31 #endif
32 #endif /* __cplusplus */
33 
34 #endif /* STORAGE_H */
35