Changes by: flatcap
Update of /cvsroot/linux-ntfs/linux-ntfs/include
In directory usw-pr-cvs1:/tmp/cvs-serv21128/include
Modified Files:
Makefile.am Makefile.in attrib.h
Added Files:
runlist.h
Log Message:
move the runlist functions from attrib.c to runlist.c
--- NEW FILE ---
/*
* $Id: runlist.h,v 1.1 2002/07/09 19:17:48 flatcap Exp $
*
* runlist.h - Exports for runlist handling. Part of the Linux-NTFS project.
*
* Copyright (c) 2002 Anton Altaparmakov.
* Copyright (c) 2002 Richard Russon.
*
* This program/include file 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; either version 2 of the License, or
* (at your option) any later version.
*
* This program/include file 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 (in the main directory of the Linux-NTFS
* distribution in the file COPYING); if not, write to the Free Software
* Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _RUNLIST_H_
#define _RUNLIST_H_
#include "types.h"
#include "layout.h"
#include "attrib.h"
extern LCN ntfs_rl_vcn_to_lcn(const run_list_element *rl, const VCN vcn);
extern s64 ntfs_rl_pwrite(const ntfs_volume *vol, const run_list_element *rl,
const s64 pos, s64 count, void *b);
extern run_list_element *ntfs_merge_run_lists(run_list_element *drl,
run_list_element *srl);
extern run_list_element *ntfs_decompress_mapping_pairs(const ntfs_volume *vol,
const ATTR_RECORD *attr, run_list_element *old_rl);
extern int ntfs_build_mapping_pairs(const ntfs_volume *vol, s8 *dst,
const int dst_len, const run_list_element *rl);
#endif /* _RUNLIST_H_ */
Index: Makefile.am
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/include/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -U2 -r1.12 -r1.13
--- Makefile.am 6 Jun 2002 15:45:06 -0000 1.12
+++ Makefile.am 9 Jul 2002 19:17:48 -0000 1.13
@@ -22,4 +22,5 @@
mft.h \
mst.h \
+ runlist.h \
support.h \
types.h \
Index: Makefile.in
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/include/Makefile.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -U2 -r1.19 -r1.20
--- Makefile.in 6 Jun 2002 15:45:06 -0000 1.19
+++ Makefile.in 9 Jul 2002 19:17:48 -0000 1.20
@@ -107,4 +107,5 @@
mft.h \
mst.h \
+ runlist.h \
support.h \
types.h \
Index: attrib.h
===================================================================
RCS file: /cvsroot/linux-ntfs/linux-ntfs/include/attrib.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -U2 -r1.44 -r1.45
--- attrib.h 8 Jul 2002 23:27:15 -0000 1.44
+++ attrib.h 9 Jul 2002 19:17:48 -0000 1.45
@@ -210,7 +210,4 @@
extern void ntfs_attr_close(ntfs_attr *na);
-extern s64 ntfs_rl_pwrite(const ntfs_volume *vol, const run_list_element *rl,
- const s64 pos, s64 count, void *b);
-
extern s64 ntfs_attr_pread(ntfs_attr *na, const s64 pos, s64 count,
void *b);
@@ -223,13 +220,6 @@
s64 bk_cnt, const u32 bk_size, void *src);
-extern run_list_element *ntfs_merge_run_lists(run_list_element *drl,
- run_list_element *srl);
-
-extern run_list_element *ntfs_decompress_mapping_pairs(const ntfs_volume *vol,
- const ATTR_RECORD *attr, run_list_element *old_rl);
-
extern int ntfs_attr_map_run_list(ntfs_attr *na, VCN vcn);
-extern LCN ntfs_rl_vcn_to_lcn(const run_list_element *rl, const VCN vcn);
extern LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn);
extern run_list_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn);
@@ -241,6 +231,4 @@
extern int ntfs_write_significant_bytes(s8 *dst, const s8 *dst_max,
const s64 n);
-extern int ntfs_build_mapping_pairs(const ntfs_volume *vol, s8 *dst,
- const int dst_len, const run_list_element *rl);
// FIXME / TODO: Above here the file is cleaned up. (AIA)
|