mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
it compiles (but doesn't do anything useful)
This commit is contained in:
parent
42e82b99cb
commit
6e6073ff4c
12 changed files with 223 additions and 0 deletions
29
src/InputReader.h
Normal file
29
src/InputReader.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
//
|
||||
// Same notes about thread safety as in LogWriter.h apply.
|
||||
|
||||
|
||||
#ifndef INPUTREADER_H
|
||||
#define INPUTREADER_H
|
||||
|
||||
class InputReader {
|
||||
public:
|
||||
InputReader();
|
||||
virtual ~InputReader();
|
||||
|
||||
protected:
|
||||
// Methods that have to be overwritten by the individual readers
|
||||
|
||||
private:
|
||||
friend class InputMgr;
|
||||
|
||||
// When an error occurs, this method is called to set a flag marking the
|
||||
// writer as disabled.
|
||||
|
||||
bool disabled;
|
||||
|
||||
bool Disabled() { return disabled; }
|
||||
};
|
||||
|
||||
|
||||
#endif /* INPUTREADER_H */
|
Loading…
Add table
Add a link
Reference in a new issue