1ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross/* 2ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * Copyright (C) 2010 The Android Open Source Project 3ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * 4ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * Licensed under the Apache License, Version 2.0 (the "License"); 5ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * you may not use this file except in compliance with the License. 6ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * You may obtain a copy of the License at 7ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * 8ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * http://www.apache.org/licenses/LICENSE-2.0 9ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * 10ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * Unless required by applicable law or agreed to in writing, software 11ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * distributed under the License is distributed on an "AS IS" BASIS, 12ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * See the License for the specific language governing permissions and 14ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross * limitations under the License. 15ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross */ 16ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross 17ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross#ifndef _MAKE_EXT4FS_H_ 18ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross#define _MAKE_EXT4FS_H_ 19ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross 20e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker#ifdef __cplusplus 21e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongkerextern "C" { 22e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker#endif 23e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker 24b4eca4b24af9c80ebb2a7fa2ba539a48096b7576Stephen Smalleystruct selabel_handle; 2568e3dfd81ddb9367a0c3e0c72148c23a3227ed48Kenny Root 26965298695c981ee5a67e86977a8e40a50f7392abColin Crossint make_ext4fs(const char *filename, long long len, 276ece70806883534d29a74b9785871505f71ecc1fStephen Smalley const char *mountpoint, struct selabel_handle *sehnd); 28965298695c981ee5a67e86977a8e40a50f7392abColin Crossint make_ext4fs_sparse_fd(int fd, long long len, 2903ad99cff5743b9e0ce462f53dd2f0fcb17b169bColin Cross const char *mountpoint, struct selabel_handle *sehnd); 30263eefd9fb9608432636c903423e43848e69f39dDoug Zongker 31e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker#ifdef __cplusplus 32e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker} 33e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker#endif 34e8d74ff5c3253403d3e5c96edc80dfc3e5f8ada8Doug Zongker 35ec0a2e83dc66d67addeb90e83144187691852a3eColin Cross#endif 36