/* $Id$ */ /* Copyright (c) 2012 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Browser */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef BROWSER_VFS_H # define BROWSER_VFS_H # include # include # include # include /* public */ /* functions */ int vfs_closedir(DIR * dir); int vfs_lstat(char const * filename, struct stat * st); GdkPixbuf * vfs_mime_icon(Mime * mime, char const * filename, char const * type, struct stat * lst, struct stat * st, int size); char const * vfs_mime_type(Mime * mime, char const * filename, mode_t mode); DIR * vfs_opendir(char const * filename, struct stat * st); struct dirent * vfs_readdir(DIR * dir); int vfs_stat(char const * filename, struct stat * st); #endif /* !BROWSER_VFS_H */