ModUdp.cc File Reference
#include "squid.h"
#include "comm.h"
#include "comm/Connection.h"
#include "fatal.h"
#include "fd.h"
#include "fs_io.h"
#include "log/File.h"
#include "log/ModUdp.h"
#include "Parsing.h"
#include "SquidConfig.h"
#include <cerrno>
Include dependency graph for ModUdp.cc:

Go to the source code of this file.

Classes

struct  l_udp_t
 

Functions

static void logfile_mod_udp_write (Logfile *lf, const char *buf, size_t len)
 
static void logfile_mod_udp_flush (Logfile *lf)
 
static void logfile_mod_udp_writeline (Logfile *lf, const char *buf, size_t len)
 
static void logfile_mod_udp_linestart (Logfile *)
 
static void logfile_mod_udp_lineend (Logfile *)
 
static void logfile_mod_udp_rotate (Logfile *, const int16_t)
 
static void logfile_mod_udp_close (Logfile *lf)
 
int logfile_mod_udp_open (Logfile *lf, const char *path, size_t bufsz, int fatal_flag)
 

Function Documentation

static void logfile_mod_udp_close ( Logfile lf)
static

Definition at line 113 of file ModUdp.cc.

References l_udp_t::buf, Logfile::data, Logfile::f_flush, l_udp_t::fd, file_close(), NULL, and xfree.

Referenced by logfile_mod_udp_open().

static void logfile_mod_udp_flush ( Logfile lf)
static
static void logfile_mod_udp_lineend ( Logfile )
static

Definition at line 103 of file ModUdp.cc.

Referenced by logfile_mod_udp_open().

static void logfile_mod_udp_linestart ( Logfile )
static

Definition at line 98 of file ModUdp.cc.

Referenced by logfile_mod_udp_open().

static void logfile_mod_udp_rotate ( Logfile ,
const int16_t   
)
static

Definition at line 108 of file ModUdp.cc.

Referenced by logfile_mod_udp_open().

static void logfile_mod_udp_write ( Logfile lf,
const char *  buf,
size_t  len 
)
static
static void logfile_mod_udp_writeline ( Logfile lf,
const char *  buf,
size_t  len 
)
static

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors