1 /*
2 * cluster - Part of the Linux-NTFS project.
3 *
4 * Copyright (c) 2003 Richard Russon
5 *
6 * This function will locate the owner of any given sector or cluster range.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program (in the main directory of the Linux-NTFS
20 * distribution in the file COPYING); if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */
23
24 #ifndef _CLUSTER_H_
25 #define _CLUSTER_H_
26
27 #include "types.h"
28 #include "volume.h"
29
30 typedef struct {
31 int x;
32 } ntfs_cluster;
33
34 typedef int (cluster_cb)(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, void *data);
35
36 int cluster_find(ntfs_volume *vol, LCN c_begin, LCN c_end, cluster_cb *cb, void *data);
37
38 #endif /* _CLUSTER_H_ */
39