summaryrefslogtreecommitdiff
path: root/include/sqfs/xattr.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 17:08:40 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 17:08:40 +0200
commit2e28c45601a57b1d23e9cad33d2bdcc59e8a3f4f (patch)
tree346da06f09e147197a805fa2494ca1633531d8c9 /include/sqfs/xattr.h
parent4ee671b63b18701a29cf9f119e2dc26a055c69c5 (diff)
Add C++ gurads to publicly exported functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/xattr.h')
-rw-r--r--include/sqfs/xattr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sqfs/xattr.h b/include/sqfs/xattr.h
index 3d5da39..2e48a4e 100644
--- a/include/sqfs/xattr.h
+++ b/include/sqfs/xattr.h
@@ -45,6 +45,10 @@ typedef struct {
uint32_t unused;
} sqfs_xattr_id_table_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Get a prefix string from the ID or NULL if unknown */
const char *sqfs_get_xattr_prefix(E_SQFS_XATTR_TYPE id);
@@ -54,4 +58,8 @@ int sqfs_get_xattr_prefix_id(const char *key);
/* Check if a given xattr key can be encoded in squashfs at all. */
bool sqfs_has_xattr(const char *key);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SQFS_XATTR_H */