blob: c974e885d12fdc62531ace59874a7e4719ac44c5 [file] [log] [blame]
Tom Cherry4772f1d2019-07-30 09:34:41 -07001/*
2 * Copyright (C) 2019 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#pragma once
18
19#include "builtin_arguments.h"
20#include "result.h"
21
22namespace android {
23namespace init {
24
25Result<void> check_chown(const BuiltinArguments& args);
26Result<void> check_exec(const BuiltinArguments& args);
27Result<void> check_exec_background(const BuiltinArguments& args);
28Result<void> check_load_system_props(const BuiltinArguments& args);
29Result<void> check_loglevel(const BuiltinArguments& args);
30Result<void> check_mkdir(const BuiltinArguments& args);
31Result<void> check_restorecon(const BuiltinArguments& args);
32Result<void> check_restorecon_recursive(const BuiltinArguments& args);
33Result<void> check_setprop(const BuiltinArguments& args);
34Result<void> check_setrlimit(const BuiltinArguments& args);
35Result<void> check_sysclktz(const BuiltinArguments& args);
36Result<void> check_wait(const BuiltinArguments& args);
37Result<void> check_wait_for_prop(const BuiltinArguments& args);
38
39} // namespace init
40} // namespace android