blob: d9e17bb543da94d14bdd7f7eeea7b51725496203 [file] [log] [blame]
Geremy Condra3ad3d1c2013-02-22 18:11:41 -08001/*
2 * Copyright (C) 2013 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
Elliott Hughes246c18c2015-10-09 11:52:00 -070017#include <sys/cdefs.h>
18
Chih-Hung Hsiehc713bce2016-05-18 15:59:37 -070019#define FS_MGR_SETUP_VERITY_DISABLED (-2)
20#define FS_MGR_SETUP_VERITY_FAIL (-1)
Paul Lawrencebbb36312014-10-09 14:22:49 +000021#define FS_MGR_SETUP_VERITY_SUCCESS 0
Elliott Hughes246c18c2015-10-09 11:52:00 -070022
23__BEGIN_DECLS
24
Paul Lawrencebbb36312014-10-09 14:22:49 +000025int fs_mgr_setup_verity(struct fstab_rec *fstab);
Elliott Hughes246c18c2015-10-09 11:52:00 -070026
27__END_DECLS