path: root/include/libnftnl/batch.h
diff options
authorPablo Neira Ayuso <>2016-12-20 13:47:11 +0100
committerPablo Neira Ayuso <>2016-12-20 14:17:22 +0100
commit907a9f8e5a93f5bcd449643eb3916a656d634758 (patch)
treec195cc88bf73709d206a14c42902e3aa8555985f /include/libnftnl/batch.h
parent15615aa6ce1573da874f9795be8f66fbf886e638 (diff)
src: get rid of aliases and compat
This machinery was introduced to avoid sudden compilation breakage of old nftables releases. With the upcoming release of 0.7 (and 0.6 which is now 6 months old) this is not required anymore. Moreover, users gain nothing from older releases since they are half-boiled and buggy. So let's get rid of aliases now. Bump LIBVERSION and update map file. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/libnftnl/batch.h')
1 files changed, 0 insertions, 16 deletions
diff --git a/include/libnftnl/batch.h b/include/libnftnl/batch.h
index bd18733..ea1ea66 100644
--- a/include/libnftnl/batch.h
+++ b/include/libnftnl/batch.h
@@ -15,20 +15,4 @@ 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);
- * Compat
- */
-struct nft_batch;
-struct nft_batch *nft_batch_alloc(uint32_t pg_size, uint32_t pg_overrun_size);
-int nft_batch_update(struct nft_batch *batch);
-void nft_batch_free(struct nft_batch *batch);
-void *nft_batch_buffer(struct nft_batch *batch);
-uint32_t nft_batch_buffer_len(struct nft_batch *batch);
-int nft_batch_iovec_len(struct nft_batch *batch);
-void nft_batch_iovec(struct nft_batch *batch, struct iovec *iov, uint32_t iovlen);