xref: /haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/object_id.h (revision 0d2c294fa19def5bc72f57f28f2f2c8c21a879dd)
1*0d2c294fSGerasim Troeglazov /*
2*0d2c294fSGerasim Troeglazov  *
3*0d2c294fSGerasim Troeglazov  * Copyright (c) 2008 Jean-Pierre Andre
4*0d2c294fSGerasim Troeglazov  *
5*0d2c294fSGerasim Troeglazov  */
6*0d2c294fSGerasim Troeglazov 
7*0d2c294fSGerasim Troeglazov /*
8*0d2c294fSGerasim Troeglazov  * This program is free software; you can redistribute it and/or modify
9*0d2c294fSGerasim Troeglazov  * it under the terms of the GNU General Public License as published by
10*0d2c294fSGerasim Troeglazov  * the Free Software Foundation; either version 2 of the License, or
11*0d2c294fSGerasim Troeglazov  * (at your option) any later version.
12*0d2c294fSGerasim Troeglazov  *
13*0d2c294fSGerasim Troeglazov  * This program is distributed in the hope that it will be useful,
14*0d2c294fSGerasim Troeglazov  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15*0d2c294fSGerasim Troeglazov  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*0d2c294fSGerasim Troeglazov  * GNU General Public License for more details.
17*0d2c294fSGerasim Troeglazov  *
18*0d2c294fSGerasim Troeglazov  * You should have received a copy of the GNU General Public License
19*0d2c294fSGerasim Troeglazov  * along with this program (in the main directory of the NTFS-3G
20*0d2c294fSGerasim Troeglazov  * distribution in the file COPYING); if not, write to the Free Software
21*0d2c294fSGerasim Troeglazov  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22*0d2c294fSGerasim Troeglazov  */
23*0d2c294fSGerasim Troeglazov 
24*0d2c294fSGerasim Troeglazov #ifndef OBJECT_ID_H
25*0d2c294fSGerasim Troeglazov #define OBJECT_ID_H
26*0d2c294fSGerasim Troeglazov 
27*0d2c294fSGerasim Troeglazov int ntfs_get_ntfs_object_id(ntfs_inode *ni, char *value, size_t size);
28*0d2c294fSGerasim Troeglazov 
29*0d2c294fSGerasim Troeglazov int ntfs_set_ntfs_object_id(ntfs_inode *ni, const char *value,
30*0d2c294fSGerasim Troeglazov 			size_t size, int flags);
31*0d2c294fSGerasim Troeglazov int ntfs_remove_ntfs_object_id(ntfs_inode *ni);
32*0d2c294fSGerasim Troeglazov 
33*0d2c294fSGerasim Troeglazov int ntfs_delete_object_id_index(ntfs_inode *ni);
34*0d2c294fSGerasim Troeglazov 
35*0d2c294fSGerasim Troeglazov #endif /* OBJECT_ID_H */
36