diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-05 15:17:45 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-05 15:17:45 +0100 |
commit | 5acb22a6a7168f8b961777482f39a125158def50 (patch) | |
tree | 24e7b46a2b69a938fc7906bc690c652a1aeab269 /include/sqfs/xattr.h | |
parent | fbf41ac14978c93d054832af6331e6795fb86b0f (diff) |
Cleanup: Remove the E_ prefix from all libsquashfs enumerators
Avoid namespace polution. Make sure all exportet symbols are prefixed
with either sqfs_ or SQFS_.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/xattr.h')
-rw-r--r-- | include/sqfs/xattr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sqfs/xattr.h b/include/sqfs/xattr.h index c34f920..2bbfb54 100644 --- a/include/sqfs/xattr.h +++ b/include/sqfs/xattr.h @@ -29,7 +29,7 @@ */ /** - * @enum E_SQFS_XATTR_TYPE + * @enum SQFS_XATTR_TYPE * * Used by @ref sqfs_xattr_entry_t to encodes the xattr prefix. */ @@ -40,7 +40,7 @@ typedef enum { SQFS_XATTR_FLAG_OOL = 0x100, SQFS_XATTR_PREFIX_MASK = 0xFF, -} E_SQFS_XATTR_TYPE; +} SQFS_XATTR_TYPE; /** * @struct sqfs_xattr_entry_t @@ -54,7 +54,7 @@ struct sqfs_xattr_entry_t { /** * @brief Encodes the prefix of the key * - * A @ref E_SQFS_XATTR_TYPE value. If the @ref SQFS_XATTR_FLAG_OOL is + * A @ref SQFS_XATTR_TYPE value. If the @ref SQFS_XATTR_FLAG_OOL is * set, the value that follows is not actually a string but a 64 bit * reference to the location where the value is actually stored. */ @@ -158,11 +158,11 @@ extern "C" { * Like many file systems, SquashFS stores xattrs be cutting off the common * prefix of the key string and storing an enumerator instead to save memory. * - * This function takes an @ref E_SQFS_XATTR_TYPE identifier and returns the + * This function takes an @ref SQFS_XATTR_TYPE identifier and returns the * coresponding prefix string, including the '.' at the end that separates * the prefix from the rest of the key. */ -SQFS_API const char *sqfs_get_xattr_prefix(E_SQFS_XATTR_TYPE id); +SQFS_API const char *sqfs_get_xattr_prefix(SQFS_XATTR_TYPE id); /** * @brief Resolve an xattr prefix into an identifier @@ -173,7 +173,7 @@ SQFS_API const char *sqfs_get_xattr_prefix(E_SQFS_XATTR_TYPE id); * This function takes a key and finds the enumerator value that represents * its prefix. An error value is returned if the given prefix isn't supported. * - * @return On success an @ref E_SQFS_XATTR_TYPE. If not supported, the + * @return On success an @ref SQFS_XATTR_TYPE. If not supported, the * @ref SQFS_ERROR_UNSUPPORTED error code. */ SQFS_API int sqfs_get_xattr_prefix_id(const char *key); |