summaryrefslogtreecommitdiff
path: root/ext4_utils/ext4_utils.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-01-23 15:38:57 -0800
committerColin Cross <ccross@android.com>2013-01-23 17:00:13 -0800
commit965298695c981ee5a67e86977a8e40a50f7392ab (patch)
tree52c260f635da2f3bdaa57edeb0b091360ad7f82a /ext4_utils/ext4_utils.h
parent03ad99cff5743b9e0ce462f53dd2f0fcb17b169b (diff)
downloadextras-965298695c981ee5a67e86977a8e40a50f7392ab.tar.gz
ext4_utils: reduce exported apis
Remove unnecessary functions from make_ext4fs.h so they are not exposed to users of libext4_utils. Requires fixing up some internal places that depended on the definitions in the external make_ext4fs.h header. Change-Id: Ied24e0efb648d4fd2ccdd1a5a1b685e9bde9cfd7
Diffstat (limited to 'ext4_utils/ext4_utils.h')
-rw-r--r--ext4_utils/ext4_utils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext4_utils/ext4_utils.h b/ext4_utils/ext4_utils.h
index cad2eaea..520b3567 100644
--- a/ext4_utils/ext4_utils.h
+++ b/ext4_utils/ext4_utils.h
@@ -167,6 +167,16 @@ u64 get_file_size(int fd);
u64 parse_num(const char *arg);
void ext4_parse_sb(struct ext4_super_block *sb);
+typedef void (*fs_config_func_t)(const char *path, int dir, unsigned *uid, unsigned *gid,
+ unsigned *mode);
+
+struct selabel_handle;
+
+int make_ext4fs_internal(int fd, const char *directory,
+ const char *mountpoint, fs_config_func_t fs_config_func, int gzip,
+ int sparse, int crc, int wipe, int init_itabs,
+ struct selabel_handle *sehnd);
+
#ifdef __cplusplus
}
#endif