• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */
2 /*
3  * Copyright (C) 2018-2019 HUAWEI, Inc.
4  *             http://www.huawei.com/
5  * Created by Li Guifu <bluce.liguifu@huawei.com>
6  * with heavy changes by Gao Xiang <gaoxiang25@huawei.com>
7  */
8 #ifndef __EROFS_INODE_H
9 #define __EROFS_INODE_H
10 
11 #ifdef __cplusplus
12 extern "C"
13 {
14 #endif
15 
16 #include "erofs/internal.h"
17 
18 unsigned char erofs_mode_to_ftype(umode_t mode);
19 void erofs_inode_manager_init(void);
20 unsigned int erofs_iput(struct erofs_inode *inode);
21 erofs_nid_t erofs_lookupnid(struct erofs_inode *inode);
22 struct erofs_inode *erofs_mkfs_build_tree_from_path(struct erofs_inode *parent,
23 						    const char *path);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif
30