netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cli.c File Reference
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include <readline/readline.h>
#include <readline/history.h>
#include <nftables.h>
#include <parser.h>
#include <erec.h>
#include <utils.h>
#include <cli.h>
Include dependency graph for cli.c:

Macros

#define CMDLINE_HISTFILE   ".nft.history"
 

Functions

void __fmtstring (1, 0)
 
int cli_init (struct parser_state *_state)
 
void cli_exit (void)
 

Macro Definition Documentation

#define CMDLINE_HISTFILE   ".nft.history"

Referenced by cli_init().

Function Documentation

void __fmtstring ( ,
 
)

References buf, and xfree.

void cli_exit ( void  )
int cli_init ( struct parser_state _state)

References CMDLINE_HISTFILE, NULL, and scanner_init().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: