LCOV - code coverage report
Current view: top level - src - SSH.h (source / functions) Hit Total Coverage
Test: app.info Lines: 2 5 40.0 %
Date: 2010-12-13 Functions: 1 4 25.0 %
Branches: 2 8 25.0 %

           Branch data     Line data    Source code
       1                 :            : // $Id: SSH.h 6219 2008-10-01 05:39:07Z vern $
       2                 :            : //
       3                 :            : // See the file "COPYING" in the main distribution directory for copyright.
       4                 :            : 
       5                 :            : #ifndef ssh_h
       6                 :            : #define ssh_h
       7                 :            : 
       8                 :            : #include "TCP.h"
       9                 :            : #include "ContentLine.h"
      10                 :            : 
      11 [ #  # ][ #  # ]:          0 : class SSH_Analyzer : public TCP_ApplicationAnalyzer {
      12                 :            : public:
      13                 :            :         SSH_Analyzer(Connection* conn);
      14                 :            : 
      15                 :            :         virtual void DeliverStream(int len, const u_char* data, bool orig);
      16                 :            : 
      17                 :          0 :         static Analyzer* InstantiateAnalyzer(Connection* conn)
      18                 :          0 :                 { return new SSH_Analyzer(conn); }
      19                 :            : 
      20                 :          1 :         static bool Available()
      21 [ +  - ][ -  + ]:          1 :                 { return  ssh_client_version || ssh_server_version; }
      22                 :            : 
      23                 :            : private:
      24                 :            :         ContentLine_Analyzer* orig;
      25                 :            :         ContentLine_Analyzer* resp;
      26                 :            : };
      27                 :            : 
      28                 :            : #endif

Generated by: LCOV version 1.8