3 * Header file for dir.c
5 * Copyright (C) 1997 RĂ©gis Duchesne
8 #define ITERATE_SPLIT_DONE 1
16 /* not all fields are used for all operations */
17 typedef struct ntfs_iterate_s
{
18 enum ntfs_iterate_e type
;
24 char *result
; /* pointer to entry if found */
27 int block
; /* current index record */
28 int newblock
; /* index record created in a split */
34 int ntfs_getdir_unsorted(ntfs_inode
*ino
, ntfs_u32
*p_high
, ntfs_u32
* p_low
,
35 int(*cb
)(ntfs_u8
*,void*), void *param
);
36 int ntfs_getdir_byname(ntfs_iterate_s
*walk
);
37 int ntfs_dir_add(ntfs_inode
*dir
, ntfs_inode
*new, ntfs_attribute
*name
);
38 int ntfs_check_index_record(ntfs_inode
*ino
, char *record
);
39 int ntfs_getdir_byposition(ntfs_iterate_s
*walk
);
40 int ntfs_mkdir(ntfs_inode
* dir
,const char* name
,int namelen
, ntfs_inode
*ino
);
41 int ntfs_split_indexroot(ntfs_inode
*ino
);
42 int ntfs_add_index_root( ntfs_inode
*ino
, int type
);