diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-05 19:06:42 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-05 16:01:34 +0200 |
commit | c9a8adc15f9de110771156fdc85fb98533648a53 (patch) | |
tree | cdd6300b1c69a002628a76c4bac45ac6664111d9 /include/io/dir_entry.h | |
parent | 57ca46cdd74fd1004a3b0476c136e1f26fcf002d (diff) |
Move dir_entry_xattr_t from libio to libsquashfs
The structure and functions are renamed to sqfs_xattr_* instead,
an additional helper is added to accept an encoded xattr.
Documentation and unit test are added as well.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/io/dir_entry.h')
-rw-r--r-- | include/io/dir_entry.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/io/dir_entry.h b/include/io/dir_entry.h index 7546daf..be5c400 100644 --- a/include/io/dir_entry.h +++ b/include/io/dir_entry.h @@ -84,27 +84,12 @@ typedef struct { char name[]; } dir_entry_t; -typedef struct dir_entry_xattr_t { - struct dir_entry_xattr_t *next; - char *key; - sqfs_u8 *value; - size_t value_len; - char data[]; -} dir_entry_xattr_t; - #ifdef __cplusplus extern "C" { #endif dir_entry_t *dir_entry_create(const char *name); -dir_entry_xattr_t *dir_entry_xattr_create(const char *key, const sqfs_u8 *value, - size_t value_len); - -dir_entry_xattr_t *dir_entry_xattr_list_copy(const dir_entry_xattr_t *list); - -void dir_entry_xattr_list_free(dir_entry_xattr_t *list); - #ifdef __cplusplus } #endif |