blob: f0a0d47a645f79e30a6090f3793190f08b4c582d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef _NFT_CLI_H_
#define _NFT_CLI_H_
#include <nftables/libnftables.h>
#if defined(HAVE_LIBREADLINE) || defined(HAVE_LIBEDIT) || defined(HAVE_LIBLINENOISE)
extern int cli_init(struct nft_ctx *nft);
#else
static inline int cli_init(struct nft_ctx *nft)
{
return -1;
}
#endif
extern void cli_exit(int rc);
#endif
|