xref: /haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/reparse.h (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
1 /*
2  *
3  * Copyright (c) 2008 Jean-Pierre Andre
4  *
5  */
6 
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 NTFS-3G
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 REPARSE_H
25 #define REPARSE_H
26 
27 char *ntfs_make_symlink(ntfs_inode *ni, const char *mnt_point,
28 			int *pattr_size);
29 BOOL ntfs_possible_symlink(ntfs_inode *ni);
30 
31 int ntfs_get_ntfs_reparse_data(ntfs_inode *ni, char *value, size_t size);
32 
33 int ntfs_set_ntfs_reparse_data(ntfs_inode *ni, const char *value,
34 			size_t size, int flags);
35 int ntfs_remove_ntfs_reparse_data(ntfs_inode *ni);
36 
37 int ntfs_delete_reparse_index(ntfs_inode *ni);
38 
39 #endif /* REPARSE_H */
40