Commit Graph

300 Commits (f2ff3915a5730b6fddef5d91e44e6110b0e8a42f)

Author SHA1 Message Date
(none)!yura daad6adcea - add prototype
(Logical change 1.599)
2004-10-10 17:20:48 +00:00
(none)!yura db92f7bfbf - add new 0 length fields to ATTR_RECORD, they can be used to get size of attribute
(Logical change 1.599)
2004-10-10 17:20:48 +00:00
(none)!yura a929f9f0ba Update.
(Logical change 1.592)
2004-10-07 14:04:09 +00:00
cantab.net!aia21 8b3c03e173 Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel.
(Logical change 1.586)
2004-09-30 15:00:31 +00:00
(none)!yura 4b95d5ce3e Add ntfs_attr_update_mapping_pairs prototype.
(Logical change 1.584)
2004-09-29 15:43:22 +00:00
(none)!yura 746c36a4be Add new helper ntfs_attrlist_mark_dirty.
(Logical change 1.584)
2004-09-29 15:43:22 +00:00
(none)!yura c78630e1dd Add prototype.
(Logical change 1.580)
2004-09-26 19:31:31 +00:00
(none)!yura 52300dca77 - add tfs_inode_add_attrlist prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 756a0a84ca - add ntfs_resident_attr_record_add prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 5dee144063 - add ntfs_attrlist_set prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
cantab.net!aia21 3415c47df1 Add NInoAttrListTestAndSetDirty() and TestAndClearDirty().
(Logical change 1.573)
2004-09-20 15:27:55 +00:00
cantab.net!aia21 a70e770622 - Add new API unistr.[hc]::ntfs_ucsndup(). (Anton)
(Logical change 1.570)
2004-09-20 14:46:38 +00:00
(none)!yura cc15a37332 Export ntfs_make_room_for_attr, ntfs_non_resident_attr_record_add and ntfs_attr_record_rm.
(Logical change 1.568)
2004-09-19 19:30:37 +00:00
(none)!yura dc152cd323 - remove mref from ntfs_attrlist_entry_add prototype
(Logical change 1.562)
2004-09-17 16:07:04 +00:00
cantab.net!aia21 8dde1ae7ba Add offsetof() macro.
(Logical change 1.561)
2004-09-16 22:43:10 +00:00
cantab.net!aia21 e74eeb2c0b Update ntfs_mft_record_alloc() prototype to reflect reality.
(Logical change 1.551)
2004-09-13 14:44:01 +00:00
cantab.net!aia21 b766a97941 Export ntfs_inode_allocate().
(Logical change 1.550)
2004-09-13 14:39:50 +00:00
cantab.net!aia21 b82469ba50 Remove vol->nr_mft_records and update all users. (Anton)
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
cantab.net!aia21 1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura 27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
(none)!yura d7f49f5880 added prototype for ntfs_attrlist_entry_add
(Logical change 1.546)
2004-09-12 11:00:06 +00:00
cantab.net!aia21 fe4fd6b59e Fix silly porting typo.
(Logical change 1.542)
2004-09-09 14:27:59 +00:00
cantab.net!aia21 a085e4b501 Update build to SuSE 9.2 beta 1 tools (autoconf,automake,libtool,...).
(Logical change 1.540)
2004-09-09 13:57:31 +00:00
cantab.net!aia21 cbbd254b20 Export ntfs_attr_record_resize.
(Logical change 1.539)
2004-09-09 13:56:46 +00:00
cantab.net!aia21 44fa8df74b Add ntfs_volume->sb pointer for kernel porting easyness (it is really only
for benefit of being able to call ntfs_error(vol->sb, blah...);

(Logical change 1.538)
2004-09-09 07:54:06 +00:00
cantab.net!aia21 d6fc63d0b1 Add ntfs_debug() and ntfs_error() to make kernel<->userspace porting easier.
(Logical change 1.538)
2004-09-09 07:54:06 +00:00
cantab.net!aia21 06086ae5c7 Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
ntfs_mapping_pairs_build() and adapt all callers.

(Logical change 1.533)
2004-09-06 09:27:16 +00:00
cantab.net!aia21 453d87b43f Update for 1.9.3 release.
(Logical change 1.520)
2004-09-03 09:30:16 +00:00
flatcap.org!ntfs 6de75e1f2b keep track of $Bitmap and $MFT/$BITMAP
(Logical change 1.512)
2004-08-20 17:27:24 +00:00
!uv 083aac380c Resolve #include collusions by using #ifndef.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv dc9c44c798 Reduce compile time dependencies.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
cantab.net!aia21 39b62e050e Move Sprintf,Dputs,Dprintf,Dperror to be defines and call proper
non-inlined functions which are now in debug.c.

(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21 df05fa02ef Add Sprintf().
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
flatcap.org!ntfs bd8a6667cf ref count inodes
2004/08/10 16:19:44+01:00 flatcap.org!ntfs
add private data to ntfs inode

(Logical change 1.493)
2004-08-12 09:23:53 +00:00
flatcap.org!ntfs d05efe5a75 add private data to ntfs volume
(Logical change 1.493)
2004-08-12 09:23:53 +00:00
(none)!yura 3abf487908 add ntfs_clster_free_from_rl prototype
(Logical change 1.468)
2004-08-02 16:56:34 +00:00
(none)!yura 03f1839241 add ntfscp to build
(Logical change 1.467)
2004-08-02 12:05:21 +00:00
(none)!yura 50b9026628 Add a @start_vcn parameter to lcnalloc.[ch]::ntfs_cluster_alloc
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
cantab.net!aia21 3b3ac7b234 Implement ntfs_device_win32_ioctl().
(Logical change 1.457)
2004-07-15 09:29:13 +00:00
cantab.net!aia21 aa4542d8f4 Fix Yuval's last patch: runlist_element is not a struct it is a typedef
so renamed it to the struct name which is _runlist_element.

(Logical change 1.456)
2004-07-13 15:16:57 +00:00
cantab.net!aia21 41121112e5 Remote attrib.h include so win32_io.c can include debug.h. (Yuval)
(Logical change 1.455)
2004-07-13 15:05:15 +00:00
cantab.net!aia21 7d0ecd9832 - Add detection for <sys/byteorder.h> and make endianness detection
work on Solaris 2.6 (Yuval) and Solaris 9 (Anton).
- Emulate bswap_{16,32,64}() if not available/we cannot find them.

(Logical change 1.396)
2004-05-24 13:54:07 +00:00
cantab.net!aia21 3423a8a909 Rename uchar_t to ntfschar.
(Logical change 1.392)
2004-05-14 13:02:33 +00:00
cantab.net!aia21 7ecb829f8f Cleanup.
(Logical change 1.390)
2004-05-11 09:21:24 +00:00
cantab.net!aia21 385c9deeec Fix SID_IDENTIFIER_AUTHORITY. It is big endian.
(Logical change 1.368)
2004-04-15 11:10:40 +00:00
cantab.net!aia21 e44d450539 Add ntfs_sid_is_valid() and exports for ntfs_sid_to_mbs_size() and
ntfs_sid_to_mbs().

(Logical change 1.368)
2004-04-15 11:10:40 +00:00
cantab.net!aia21 5107604fff Minor typo fix.
(Logical change 1.367)
2004-04-15 08:10:14 +00:00
cantab.net!aia21 204a58e75e Add export for ntfs_sid_to_mbs().
(Logical change 1.367)
2004-04-15 08:10:14 +00:00
cantab.net!aia21 58c28e0f78 - Move constant bswap macros out of the ifdefs in endians.h so they are
always available.  (Yuval)
- Add conditional include of sys/param.h in endians.h which provides
  endianness support on Cygwin.  (Yuval)

(Logical change 1.362)
2004-04-09 14:49:40 +00:00
cantab.net!aia21 f94ee6946f Update
(Logical change 1.355)
2004-04-05 08:42:10 +00:00
cantab.net!aia21 8a80625a4b More updates.
(Logical change 1.352)
2004-03-31 14:47:08 +00:00
cantab.net!aia21 e0ccb034ea Update.
(Logical change 1.350)
2004-03-30 14:00:35 +00:00
cantab.net!aia21 78922e89fa Update to automake 1.8.3.
(Logical change 1.349)
2004-03-26 14:50:33 +00:00
cantab.net!aia21 89698664fe Move all the magic_* stuff into one place in layout.h.
(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 e3fbfe6b96 Correct typo.
(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 17f7990e20 - Move all the magic_* stuff into one place in layout.h.
- Sanitize the structure comments to make a little more sense (I hope).

(Logical change 1.348)
2004-03-26 14:42:21 +00:00
cantab.net!aia21 59c98d3fb1 Use the new LSN data type.
(Logical change 1.347)
2004-03-25 18:55:44 +00:00
cantab.net!aia21 31c61d3404 Use new type LSN.
(Logical change 1.347)
2004-03-25 18:55:44 +00:00
cantab.net!aia21 80fda79683 Add typedef for LSN.
(Logical change 1.347)
2004-03-25 18:55:44 +00:00
cantab.net!aia21 59fb52eff1 Update
(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21 d2ea0b8741 Add exports for ntfs_device_heads_get() and
ntfs_device_sectors_per_track_get().

(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21 c15c7b19a6 Add export for ntfs_attrlist_entry_rm(). -- Not implemented yet.
(Logical change 1.345)
2004-03-24 10:36:31 +00:00
cantab.net!aia21 1500287b1c Update
(Logical change 1.340)
2004-03-19 17:36:45 +00:00
cantab.net!aia21 6507533a0a (Logical change 1.340) 2004-03-19 17:36:45 +00:00
cantab.net!aia21 1c970228e2 Initial revision 2004-03-19 17:36:45 +00:00
cantab.net!aia21 1a9faf5ae8 Add attrlist.h to list of headers.
(Logical change 1.340)
2004-03-19 17:36:45 +00:00
cantab.net!aia21 93acd345a7 Update
(Logical change 1.338)
2004-03-17 16:53:29 +00:00
cantab.net!aia21 f33bdf28a5 Update comment for hidden_sectors in BIOS_PARAMETER_BLOCK.
(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21 9318887cd5 Add new API device.[hc]::ntfs_device_partition_start_sector_get() and
make mkntfs use it.

(Logical change 1.336)
2004-03-17 12:22:03 +00:00
cantab.net!aia21 2bd298bc2d Add new API mft.[hc]::ntfs_mft_record_{layout,format}() and make
mkntfs use it.

(Logical change 1.335)
2004-03-15 12:50:18 +00:00
cantab.net!aia21 14658c8c43 Copy MFT_RECORD typedef to MFT_RECORD_OLD and modify MFT_RECORD to
contain the NTFS 3.1+ specific fields.  Also, update mkntfs and
ntfsclone appropriately.

(Logical change 1.333)
2004-03-15 11:34:30 +00:00
cantab.net!aia21 a8ce4055be Update comment for ntfs_mft_record_get_data_size().
(Logical change 1.332)
2004-03-15 10:54:47 +00:00
cantab.net!aia21 481241602c Change ntfs_get_attribute_value syntax to not have the MFT_RECORD as it
wasn't used anyway and the function is headed for death anyway...

(Logical change 1.332)
2004-03-15 10:54:47 +00:00
cantab.net!aia21 84db0e8dfb Initial revision 2004-03-14 18:04:17 +00:00
cantab.net!aia21 2324aa8e3f Add security.h to Makefile.*.
(Logical change 1.330)
2004-03-14 18:04:17 +00:00
cantab.net!aia21 a0fdf1985f (Logical change 1.330) 2004-03-14 18:04:17 +00:00
cantab.net!aia21 a06a326959 Fix layout.h STANDARD_INFORMATION and FILE_ATTR_FLAGS typedefs by
adding the packed attribute where it was missing causing havoc due
to 64 bit alignment.  (Yuval Fledel)

(Logical change 1.328)
2004-03-13 19:22:57 +00:00
cantab.net!aia21 3cfb4590eb Provide new API functions: ntfs_bitmap_{set,clear}_bit().
(Logical change 1.327)
2004-03-12 17:25:04 +00:00
cantab.net!aia21 cb3b41894a Modify meaning of ntfs_volume->nr_mft_records to be the number of
initialized mft records, not total mft records.  This makes far more
sense and in fact reflects how nr_mft_records is being used in both
libntfs and the utilities.

(Logical change 1.326)
2004-03-12 15:50:52 +00:00
cantab.net!aia21 9b3652469c Update with SuSE 9.1 beta 1 versions of GNU build system.
(Logical change 1.322)
2004-03-11 15:33:34 +00:00
cantab.net!aia21 a0cbfc4ce4 Provide our own __ntfs_bswap_constant_xx functions so we completely
avoid the mess that some architectures define only some of the
constant bswap functions.

(Logical change 1.318)
2004-03-10 22:53:49 +00:00
cantab.net!aia21 77c794f202 Try the SuSE patch.
(Logical change 1.315)
2004-03-10 15:17:51 +00:00
cantab.net!aia21 0dd38ddd7d Use AC_CHECK_DECLS in configure.ac to determine if the constant bswap
functions are defined/declared and define them to the non-constant ones
in endians.h if not.

(Logical change 1.314)
2004-03-10 10:22:03 +00:00
cantab.net!aia21 232af61717 Use bswap_xx instead of __bswap_constant_xx when the constant version
is not available as is the case on some architectures.  (Thanks to
David Martínez Moreno for the bug report.)

(Logical change 1.302)
2004-03-08 12:19:08 +00:00
cantab.net!aia21 8140d928d7 Auto merged
2004/02/25 14:43:31+00:00 cantab.net!aia21
Auto merged

2004/02/25 14:43:29+00:00 cantab.net!aia21
Merge rename: include/support.h -> include/ntfs/support.h

(Logical change 1.299)
2004-03-06 17:42:28 +00:00
cantab.net!aia21 4de7c6fde0 Make ntfs_attrs_walk() use AT_UNUSED and CASE_SENSITIVE instead of
zero when calling ntfs_lookup() for type checking correctness.  (Yuval
Fledel)

(Logical change 1.297)
2004-03-05 11:41:37 +00:00
cantab.net!aia21 607036db7d Rename private to priv_data in ntfs_device_alloc() to avoid name
space clashes with C++.  (Yuval Fledel, modified fix by me)

(Logical change 1.295)
2004-03-05 11:23:42 +00:00
cantab.net!aia21 260305c102 Modify layout.h and logfile.h expanding/naming annonymous structs
and unions (much like I did earlier in the kernel driver) so that
the -fms-extensions switch is no longer required.  Also, removed
the -fms-extensions switch and associated autodetection from
./configure.ac.  (Yuval Fledel with small fixes from me)

(Logical change 1.293)
2004-03-05 09:45:14 +00:00
cantab.net!aia21 f64410dbb7 Guard config.h inclusiong with ifdef HAVE_CONFIG_H
(Logical change 1.288)
2004-02-29 14:09:45 +00:00
cantab.net!aia21 4b12f1bfce Add NO_NTFS_DEVICE_DEFAULT_IO_OPS.
(Logical change 1.283)
2004-02-26 11:41:48 +00:00
cantab.net!aia21 83a577b1e5 Update for move of include files.
2004/02/25 13:57:19+00:00 cantab.net!aia21
Rename: include/Makefile.in -> include/ntfs/Makefile.in

(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 6a2d6277e9 Rename: include/volume.h -> include/ntfs/volume.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 96d9f30e1a Rename: include/volume.h -> include/ntfs/volume.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 1cfb7cb780 Rename: include/unistr.h -> include/ntfs/unistr.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 2de41afeb0 Rename: include/unistr.h -> include/ntfs/unistr.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 9c545b1a67 Rename: include/types.h -> include/ntfs/types.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 450e974e53 Rename: include/types.h -> include/ntfs/types.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 307edb606f Rename: include/support.h -> include/ntfs/support.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 8e46abe9bb Rename: include/support.h -> include/ntfs/support.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 c01551305f Rename: include/runlist.h -> include/ntfs/runlist.h
}(Logical change 1.280)
2004-02-25 14:21:14 +00:00