diff options
Diffstat (limited to 'include/libnftnl/batch.h')
-rw-r--r-- | include/libnftnl/batch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libnftnl/batch.h b/include/libnftnl/batch.h index ea1ea66..ff747f6 100644 --- a/include/libnftnl/batch.h +++ b/include/libnftnl/batch.h @@ -3,6 +3,10 @@ #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + struct nftnl_batch; struct nftnl_batch *nftnl_batch_alloc(uint32_t pg_size, uint32_t pg_overrun_size); @@ -15,4 +19,8 @@ uint32_t nftnl_batch_buffer_len(struct nftnl_batch *batch); int nftnl_batch_iovec_len(struct nftnl_batch *batch); void nftnl_batch_iovec(struct nftnl_batch *batch, struct iovec *iov, uint32_t iovlen); +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif |