zeek/src/Telnet.h
2011-08-04 15:21:18 -05:00

23 lines
482 B
C++

// See the file "COPYING" in the main distribution directory for copyright.
#ifndef telnet_h
#define telnet_h
#include "Login.h"
class Telnet_Analyzer : public Login_Analyzer {
public:
Telnet_Analyzer(Connection* conn);
virtual ~Telnet_Analyzer() {}
static Analyzer* InstantiateAnalyzer(Connection* conn)
{ return new Telnet_Analyzer(conn); }
static bool Available()
{
return login_failure || login_success ||
login_input_line || login_output_line;
}
};
#endif