1 /* SPDX-License-Identifier: GPL-2.0+ OR Apache-2.0 */ 2 /* 3 * erofs-utils/lib/blobchunk.h 4 * 5 * Copyright (C) 2021, Alibaba Cloud 6 */ 7 #ifndef __EROFS_BLOBCHUNK_H 8 #define __EROFS_BLOBCHUNK_H 9 10 #ifdef __cplusplus 11 extern "C" 12 { 13 #endif 14 15 #include "erofs/internal.h" 16 17 int erofs_blob_write_chunk_indexes(struct erofs_inode *inode, erofs_off_t off); 18 int erofs_blob_write_chunked_file(struct erofs_inode *inode); 19 int erofs_blob_remap(void); 20 void erofs_blob_exit(void); 21 int erofs_blob_init(const char *blobfile_path); 22 int erofs_generate_devtable(void); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif 29