summaryrefslogtreecommitdiffstats
path: root/include/libnftnl/batch.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-01 20:19:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 19:24:19 +0200
commit760768890e60617acfd144dce875a4a3be14513c (patch)
tree14a3a4f53e81fd9b44c8481e123f2c0ceb6f2bff /include/libnftnl/batch.h
parentb7154e52fc417e927bef0bbfa5db6e7a71f28602 (diff)
src: rename existing functions to use the nftnl_ prefix
So we can use the nft_* prefix anytime soon for our upcoming higher level library. After this patch, the nft_* symbols become an alias of the nftnl_* symbols. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/batch.h')
-rw-r--r--include/libnftnl/batch.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/libnftnl/batch.h b/include/libnftnl/batch.h
index 40416e6..ea1ea66 100644
--- a/include/libnftnl/batch.h
+++ b/include/libnftnl/batch.h
@@ -3,16 +3,16 @@
#include <stdint.h>
-struct nft_batch;
+struct nftnl_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);
+struct nftnl_batch *nftnl_batch_alloc(uint32_t pg_size, uint32_t pg_overrun_size);
+int nftnl_batch_update(struct nftnl_batch *batch);
+void nftnl_batch_free(struct nftnl_batch *batch);
-void *nft_batch_buffer(struct nft_batch *batch);
-uint32_t nft_batch_buffer_len(struct nft_batch *batch);
+void *nftnl_batch_buffer(struct nftnl_batch *batch);
+uint32_t nftnl_batch_buffer_len(struct nftnl_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);
+int nftnl_batch_iovec_len(struct nftnl_batch *batch);
+void nftnl_batch_iovec(struct nftnl_batch *batch, struct iovec *iov, uint32_t iovlen);
#endif