diff options
Diffstat (limited to 'logd/LogAudit.h')
| -rw-r--r-- | logd/LogAudit.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/logd/LogAudit.h b/logd/LogAudit.h index 3e57eed..111030a 100644 --- a/logd/LogAudit.h +++ b/logd/LogAudit.h @@ -23,16 +23,17 @@ class LogAudit : public SocketListener { LogBuffer *logbuf; LogReader *reader; + int fdDmesg; public: - LogAudit(LogBuffer *buf, LogReader *reader); + LogAudit(LogBuffer *buf, LogReader *reader, int fdDmesg); protected: virtual bool onDataAvailable(SocketClient *cli); private: static int getLogSocket(); - void logDmsg(); + void logDmesg(); int logPrint(const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); }; |
