summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamad Ayyash2016-04-08 00:13:43 -0500
committerMohamad Ayyash2016-04-08 00:44:00 -0500
commit8c788588f4d228570cabefd2b750fe2dd7dc83ae (patch)
treea57e8f689b931c0bb336bc15de43b5b5fea773ca /include/private/canned_fs_config.h
parent71f6b9569c2c707d061b96e48021b4be617e40a4 (diff)
downloadplatform-system-core-8c788588f4d228570cabefd2b750fe2dd7dc83ae.tar.gz
platform-system-core-8c788588f4d228570cabefd2b750fe2dd7dc83ae.tar.xz
platform-system-core-8c788588f4d228570cabefd2b750fe2dd7dc83ae.zip
Move canned_fs_config into libcutils
It's no longer specific to make_ext4fs, will be used for mksquashfs as well. BUG: 27467028 Change-Id: I41b8c2b168ada45c8378dee522391edfb8f6b9a6 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'include/private/canned_fs_config.h')
-rw-r--r--include/private/canned_fs_config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/private/canned_fs_config.h b/include/private/canned_fs_config.h
new file mode 100644
index 000000000..d9f51ca3e
--- /dev/null
+++ b/include/private/canned_fs_config.h
@@ -0,0 +1,26 @@
1/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef _CANNED_FS_CONFIG_H
18#define _CANNED_FS_CONFIG_H
19
20#include <inttypes.h>
21
22int load_canned_fs_config(const char* fn);
23void canned_fs_config(const char* path, int dir, const char* target_out_path,
24 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities);
25
26#endif