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