00001 00013 /* 00014 * Copyright 2008 Red Hat Inc., Durham, North Carolina. 00015 * All Rights Reserved. 00016 * 00017 * This library is free software; you can redistribute it and/or 00018 * modify it under the terms of the GNU Lesser General Public 00019 * License as published by the Free Software Foundation; either 00020 * version 2.1 of the License, or (at your option) any later version. 00021 * 00022 * This library is distributed in the hope that it will be useful, 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00025 * Lesser General Public License for more details. 00026 * 00027 * You should have received a copy of the GNU Lesser General Public 00028 * License along with this library; if not, write to the Free Software 00029 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00030 * 00031 * Authors: 00032 * Peter Vrabec <pvrabec@redhat.com> 00033 */ 00034 00035 #ifndef FINDFILE_H 00036 #define FINDFILE_H 00037 00038 #include "seap.h" 00039 #include "probe-api.h" 00040 #include "fsdev.h" 00041 00042 #define MTAB_PATH "/etc/mtab" 00043 #define LOCAL_FILESYSTEMS {"ext2", "ext3", "reiserfs", "xfs", NULL} 00044 00054 int find_files(SEXP_t * path, SEXP_t * filename, SEXP_t * behaviors, 00055 int (*cb) (const char *, const char *, void *arg), void *arg); 00056 #endif