• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 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_CHAR_H
10 #define STORAGE_CHAR_H
11 
12 #include "mtd_core.h"
13 
14 #ifdef __cplusplus
15 #if __cplusplus
16 extern "C" {
17 #endif
18 #endif /* __cplusplus */
19 
20 #define CHAR_NAME_LEN 32
21 
22 int32_t MtdCharInit(struct MtdDevice *mtdDevice);
23 void MtdCharUninit(struct MtdDevice *mtdDevice);
24 
25 /* these too functions gona implemented by specific os */
26 extern int32_t MtdCharOsInit(struct MtdDevice *mtdDevice);
27 extern void MtdCharOsUninit(struct MtdDevice *mtdDevice);
28 
29 #ifdef __cplusplus
30 #if __cplusplus
31 }
32 #endif
33 #endif /* __cplusplus */
34 
35 #endif /* STORAGE_CHAR_H */
36