root/src/system/boot/loader/file_systems/packagefs/packagefs.h
/*
 * Copyright 2011-2013, Ingo Weinhold, ingo_weinhold@gmx.de.
 * Distributed under the terms of the MIT License.
 */
#ifndef BOOT_LOADER_FILE_SYSTEMS_PACKAGEFS_H
#define BOOT_LOADER_FILE_SYSTEMS_PACKAGEFS_H


#include <sys/cdefs.h>

#include <SupportDefs.h>


class PathBlocklist;
class Directory;
class Node;


status_t packagefs_mount_file(int fd, Directory* systemDirectory,
        Directory*& _mountedDirectory);

void packagefs_apply_path_blocklist(Directory* systemDirectory,
        const PathBlocklist& pathBlocklist);


#endif  // BOOT_LOADER_FILE_SYSTEMS_PACKAGEFS_H