diff options
Diffstat (limited to 'include/io/xattr.h')
-rw-r--r-- | include/io/xattr.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/io/xattr.h b/include/io/xattr.h deleted file mode 100644 index d9f3e65..0000000 --- a/include/io/xattr.h +++ /dev/null @@ -1,35 +0,0 @@ -/* SPDX-License-Identifier: GPL-3.0-or-later */ -/* - * xattr.h - * - * Copyright (C) 2023 David Oberhollenzer <goliath@infraroot.at> - */ -#ifndef IO_XATTR_H -#define IO_XATTR_H - -#include "sqfs/predef.h" - -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_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 - -#endif /* IO_XATTR_H */ |