Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

flow_print.h File Reference

Go to the source code of this file.

Functions

int flow_printf (const char *format,...)
int flow_fatalerror (const char *format,...)
int flow_errormsg (const char *format,...)
int flow_set_daemon (void)


Function Documentation

int flow_errormsg const char *  format,
  ...
 

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.

int flow_fatalerror const char *  format,
  ...
 

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().

int flow_printf const char *  format,
  ...
 

flow's printf

Parameters:
format format to print in
... args
Returns:
FLOW_SUCCESS on sucess

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().

int flow_set_daemon void   ) 
 

Make this library print to syslog

Returns:
FLOW_SUCCESS

Definition at line 24 of file flow_print.c.

References FLOW_SUCCESS, and s_daemon.

Referenced by ParseCmdLine(), and ParseConfig().


Generated on Sun May 14 14:51:24 2006 by  doxygen 1.4.2