Experimental EA supports.
[lwext4.git] / lwext4 / ext4_xattr.h
1 #ifndef EXT4_XATTR_H_
2 #define EXT4_XATTR_H_
3
4 #include "ext4_config.h"
5 #include "ext4_types.h"
6
7 int ext4_fs_get_xattr_ref(struct ext4_fs *fs,
8                           struct ext4_inode_ref *inode_ref,
9                           struct ext4_xattr_ref *ref);
10
11 void ext4_fs_put_xattr_ref(struct ext4_xattr_ref *ref);
12
13 int ext4_xattr_lookup(struct ext4_xattr_ref *xattr_ref,
14                       uint8_t  name_index,
15                       char    *name,
16                       size_t   name_len,
17                       struct ext4_xattr_entry **found_entry,
18                       void   **out_data,
19                       size_t  *out_len);
20
21 #endif