diff options
Diffstat (limited to 'src/include/syslogdevice.h')
-rw-r--r-- | src/include/syslogdevice.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/syslogdevice.h b/src/include/syslogdevice.h index 2269fb2..68d4112 100644 --- a/src/include/syslogdevice.h +++ b/src/include/syslogdevice.h @@ -8,13 +8,15 @@ #define syslogdevice_h_included #include "iodevice.h" + #include <syslog.h> namespace Binc { class SyslogDevice : public IODevice { public: - SyslogDevice(int flags, const char *ident = "bincimap", - int option = LOG_NDELAY | LOG_PID, + SyslogDevice(int flags, + const char *ident = "bincimap", + int option = LOG_NDELAY | LOG_PID, int facility = LOG_USER); ~SyslogDevice(); @@ -27,7 +29,7 @@ namespace Binc { bool waitForRead(void) const; WriteResult write(void); - bool fillInputBuffer(void); + bool fillInputBuffer(void); private: static std::string ident; |