1344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root/* 2344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * Copyright (C) 2012 The Android Open Source Project 3344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * 4344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * Licensed under the Apache License, Version 2.0 (the "License"); 5344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * you may not use this file except in compliance with the License. 6344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * You may obtain a copy of the License at 7344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * 8344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * http://www.apache.org/licenses/LICENSE-2.0 9344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * 10344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * Unless required by applicable law or agreed to in writing, software 11344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * distributed under the License is distributed on an "AS IS" BASIS, 12344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * See the License for the specific language governing permissions and 14344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root * limitations under the License. 15344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root */ 16344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root 17344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root#ifndef _EXT4_H 18344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root#define _EXT4_H 19344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root 20344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root#include <unistd.h> 21344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root 22344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Rootclass Ext4 { 23344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Rootpublic: 24344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root static int doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount, 25344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root bool executable); 26344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root static int format(const char *fsPath); 27344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root}; 28344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root 29344ca10856f3d3087a3288ce8f91ad83665d93fbKenny Root#endif 30