netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
logging.c File Reference
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <syslog.h>
#include "config.h"
#include "logging.h"
Include dependency graph for logging.c:

Functions

int nft_sync_log_init (struct nft_sync_inst *inst)
 
void nft_sync_log_fini (struct nft_sync_inst *inst)
 
void nft_sync_log (struct nft_sync_inst *inst, int prio, const char *format,...)
 

Function Documentation

void nft_sync_log ( struct nft_sync_inst inst,
int  prio,
const char *  format,
  ... 
)
void nft_sync_log_fini ( struct nft_sync_inst inst)

References nft_sync_inst::fd, nft_sync_inst::log, NFTS_LOG_T_FILE, NFTS_LOG_T_SYSLOG, NULL, and nft_sync_inst::type.

Referenced by main().

Here is the caller graph for this function:

int nft_sync_log_init ( struct nft_sync_inst inst)

References nft_sync_inst::fd, nft_sync_inst::filename, nft_sync_inst::log, NFTS_LOG_T_FILE, NFTS_LOG_T_SYSLOG, NULL, and nft_sync_inst::type.

Referenced by main().

Here is the caller graph for this function:

Variable Documentation

const char* color

Referenced by rb_erase().

const char* text