1 /* 2 * Copyright (c) 2012 Paulo Alcantara <pcacjr@zytor.com> 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it would be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write the Free Software Foundation, 15 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 16 */ 17 18 #ifndef XFS_READDIR_H_ 19 #define XFS_READDIR_H_ 20 21 int xfs_readdir_dir2_local(struct file *file, struct dirent *dirent, 22 xfs_dinode_t *core); 23 int xfs_readdir_dir2_block(struct file *file, struct dirent *dirent, 24 xfs_dinode_t *core); 25 int xfs_readdir_dir2_leaf(struct file *file, struct dirent *dirent, 26 xfs_dinode_t *core); 27 int xfs_readdir_dir2_node(struct file *file, struct dirent *dirent, 28 xfs_dinode_t *core); 29 30 #endif /* XFS_READDIR_H_ */ 31