summaryrefslogtreecommitdiffstats
path: root/include/cli.h
blob: 023f004b8dab84102e19fc1fae9630936a6a1b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _NFT_CLI_H_
#define _NFT_CLI_H_

#include <nftables/libnftables.h>
#include <config.h>

#ifdef HAVE_LIBREADLINE
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(void);

#endif