summaryrefslogtreecommitdiff
path: root/include/sqfs/meta_writer.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/meta_writer.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/meta_writer.h')
-rw-r--r--include/sqfs/meta_writer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sqfs/meta_writer.h b/include/sqfs/meta_writer.h
index aeee924..e91c1e9 100644
--- a/include/sqfs/meta_writer.h
+++ b/include/sqfs/meta_writer.h
@@ -15,6 +15,10 @@
typedef struct meta_writer_t meta_writer_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Create a meta data reader using a given compressor to compress data.
Internally prints error message to stderr on failure.
If keep_in_mem is true, the blocks are collected in memory and must
@@ -43,4 +47,8 @@ void meta_writer_reset(meta_writer_t *m);
returns non-zero on failure. */
int meta_write_write_to_file(meta_writer_t *m);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* META_WRITER_H */