diff options
Diffstat (limited to 'include/sqfs/compress.h')
-rw-r--r-- | include/sqfs/compress.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sqfs/compress.h b/include/sqfs/compress.h index c6de185..3860353 100644 --- a/include/sqfs/compress.h +++ b/include/sqfs/compress.h @@ -51,6 +51,10 @@ struct compressor_t { void (*destroy)(compressor_t *stream); }; +#ifdef __cplusplus +extern "C" { +#endif + bool compressor_exists(E_SQFS_COMPRESSOR id); /* block_size is the configured block size for the SquashFS image. Needed @@ -68,4 +72,8 @@ const char *compressor_name_from_id(E_SQFS_COMPRESSOR id); int compressor_id_from_name(const char *name, E_SQFS_COMPRESSOR *out); +#ifdef __cplusplus +} +#endif + #endif /* COMPRESS_H */ |