#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <syslog.h>
#include "config.h"
#include "logging.h"
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,...) |
void nft_sync_log | ( | struct nft_sync_inst * | inst, |
int | prio, | ||
const char * | format, | ||
... | |||
) |
References nft_sync_inst::color, nft_sync_inst::fd, nft_sync_inst::log, NFTS_LOG_T_FILE, NFTS_LOG_T_SYSLOG, NULL, and nft_sync_inst::type.
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().
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().
const char* color |
Referenced by rb_erase().
const char* text |