diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-01 17:08:40 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-01 17:08:40 +0200 |
commit | 2e28c45601a57b1d23e9cad33d2bdcc59e8a3f4f (patch) | |
tree | 346da06f09e147197a805fa2494ca1633531d8c9 /include/sqfs/block_processor.h | |
parent | 4ee671b63b18701a29cf9f119e2dc26a055c69c5 (diff) |
Add C++ gurads to publicly exported functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/block_processor.h')
-rw-r--r-- | include/sqfs/block_processor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sqfs/block_processor.h b/include/sqfs/block_processor.h index 18d8c4a..b7550aa 100644 --- a/include/sqfs/block_processor.h +++ b/include/sqfs/block_processor.h @@ -63,6 +63,10 @@ typedef struct block_processor_t block_processor_t; */ typedef int (*block_cb)(void *user, block_t *blk); +#ifdef __cplusplus +extern "C" { +#endif + block_processor_t *block_processor_create(size_t max_block_size, compressor_t *cmp, unsigned int num_workers, @@ -108,4 +112,8 @@ block_t *create_block(const char *filename, int fd, size_t size, int process_block(block_t *block, compressor_t *cmp, uint8_t *scratch, size_t scratch_size); +#ifdef __cplusplus +} +#endif + #endif /* BLOCK_PROCESSOR_H */ |