#include <syslog.hh>
Public Member Functions | |
| SyslogBuf (int prio) | |
| ~SyslogBuf () | |
| int_type | overflow (int_type c=traits_type::eof()) |
| Super * | setbuf (char_type *s, std::streamsize n) |
| int | sync () |
Private Types | |
| typedef std::streambuf | Super |
| typedef Super::char_type | char_type |
| typedef Super::traits_type | traits_type |
| typedef Super::int_type | int_type |
| typedef Super::pos_type | pos_type |
| typedef Super::off_type | off_type |
Private Attributes | |
| int | prio_ |
| bool | ours_ |
| unsigned | size_ |
| char_type * | buffer_ |
typedef std::streambuf olsr::utl::SyslogBuf::Super [private] |
typedef Super::char_type olsr::utl::SyslogBuf::char_type [private] |
typedef Super::traits_type olsr::utl::SyslogBuf::traits_type [private] |
typedef Super::int_type olsr::utl::SyslogBuf::int_type [private] |
typedef Super::pos_type olsr::utl::SyslogBuf::pos_type [private] |
typedef Super::off_type olsr::utl::SyslogBuf::off_type [private] |
| olsr::utl::SyslogBuf::SyslogBuf | ( | int | prio | ) |
References buffer_, and SYSLOG_BUFFER_SIZE.
| SyslogBuf::int_type olsr::utl::SyslogBuf::overflow | ( | int_type | c = traits_type::eof() |
) |
References prio_.
| std::streambuf * olsr::utl::SyslogBuf::setbuf | ( | char_type * | s, | |
| std::streamsize | n | |||
| ) |
int olsr::utl::SyslogBuf::prio_ [private] |
Referenced by overflow(), and sync().
bool olsr::utl::SyslogBuf::ours_ [private] |
Referenced by setbuf(), and ~SyslogBuf().
unsigned olsr::utl::SyslogBuf::size_ [private] |
char_type* olsr::utl::SyslogBuf::buffer_ [private] |
Referenced by setbuf(), sync(), SyslogBuf(), and ~SyslogBuf().
1.5.6