#include "flow_print.h"
#include "flow_error.h"
#include <unistd.h>
#include <syslog.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
Go to the source code of this file.
Defines | |
#define | BUFSIZE 1024 |
Functions | |
int | flow_set_daemon (void) |
int | flow_printf (const char *format,...) |
int | flow_fatalerror (const char *format,...) |
int | flow_errormsg (const char *format,...) |
Variables | |
static int | s_daemon = 0 |
|
Definition at line 16 of file flow_print.c. Referenced by flow_errormsg(), flow_fatalerror(), and flow_printf(). |
|
Definition at line 92 of file flow_print.c. References BUFSIZE, FLOW_SUCCESS, LOG_CONS, LOG_DAEMON, LOG_ERR, s_daemon, snprintf, syslog(), and vsnprintf. |
|
Definition at line 62 of file flow_print.c. References BUFSIZE, FLOW_SUCCESS, LOG_CONS, LOG_DAEMON, LOG_ERR, s_daemon, snprintf, syslog(), and vsnprintf. Referenced by flowps_init_pkt(), FlowPSInit(), FlowPSParseArgs(), and FlowPSParseOption(). |
|
flow's printf
Definition at line 39 of file flow_print.c. References BUFSIZE, FLOW_SUCCESS, LOG_CONS, LOG_DAEMON, LOG_ERR, s_daemon, syslog(), and vsnprintf. Referenced by CheckFlowShutdown(), flow_callbacks(), flow_init(), flowcache_newflow(), flowcache_stats(), flowkey_print(), FlowParseArgs(), FlowPreprocessor(), flowps_entry_print(), flowps_get_score(), flowps_newflow_callback(), flowps_score_print(), flowps_stats(), FlowPSOutputConfig(), FlowPSParseOption(), flowstat_increment(), flowstat_print(), scoreboard_add(), scoreboard_dump(), scoreboard_init(), scoreboard_stats(), server_stats(), server_stats_dump(), server_stats_save(), unique_tracker_dump(), ut_init(), and ut_stats(). |
|
Make this library print to syslog
Definition at line 24 of file flow_print.c. References FLOW_SUCCESS, and s_daemon. Referenced by ParseCmdLine(), and ParseConfig(). |
|
Definition at line 14 of file flow_print.c. Referenced by flow_errormsg(), flow_fatalerror(), flow_printf(), and flow_set_daemon(). |