ModStdio.cc File Reference
#include "squid.h"
#include "fatal.h"
#include "fd.h"
#include "fde.h"
#include "fs_io.h"
#include "globals.h"
#include "log/File.h"
#include "log/ModStdio.h"
#include "SquidConfig.h"
#include <cerrno>
Include dependency graph for ModStdio.cc:

Go to the source code of this file.

Classes

struct  l_stdio_t
 

Functions

static void logfileWriteWrapper (Logfile *lf, const void *buf, size_t len)
 
static void logfile_mod_stdio_writeline (Logfile *lf, const char *buf, size_t len)
 
static void logfile_mod_stdio_linestart (Logfile *)
 
static void logfile_mod_stdio_lineend (Logfile *lf)
 
static void logfile_mod_stdio_flush (Logfile *lf)
 
static void logfile_mod_stdio_rotate (Logfile *lf, const int16_t nRotate)
 
static void logfile_mod_stdio_close (Logfile *lf)
 
int logfile_mod_stdio_open (Logfile *lf, const char *path, size_t bufsz, int fatal_flag)
 

Function Documentation

static void logfile_mod_stdio_close ( Logfile lf)
static
static void logfile_mod_stdio_flush ( Logfile lf)
static

Definition at line 92 of file ModStdio.cc.

References l_stdio_t::buf, Logfile::data, logfileWriteWrapper(), and l_stdio_t::offset.

Referenced by logfile_mod_stdio_open().

static void logfile_mod_stdio_lineend ( Logfile lf)
static

Definition at line 86 of file ModStdio.cc.

References Logfile::f_flush.

Referenced by logfile_mod_stdio_open().

static void logfile_mod_stdio_linestart ( Logfile )
static

Definition at line 81 of file ModStdio.cc.

Referenced by logfile_mod_stdio_open().

static void logfile_mod_stdio_rotate ( Logfile lf,
const int16_t  nRotate 
)
static
static void logfile_mod_stdio_writeline ( Logfile lf,
const char *  buf,
size_t  len 
)
static
static void logfileWriteWrapper ( Logfile lf,
const void *  buf,
size_t  len 
)
static

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors