LCOV - code coverage report
Current view: top level - src - HTTP-binpac.h (source / functions) Hit Total Coverage
Test: app.info Lines: 2 4 50.0 %
Date: 2010-12-13 Functions: 1 2 50.0 %
Branches: 2 6 33.3 %

           Branch data     Line data    Source code
       1                 :            : // $Id:$
       2                 :            : 
       3                 :            : #ifndef http_binpac_h
       4                 :            : #define http_binpac_h
       5                 :            : 
       6                 :            : #include "TCP.h"
       7                 :            : 
       8                 :            : #include "http_pac.h"
       9                 :            : 
      10                 :            : class HTTP_Analyzer_binpac : public TCP_ApplicationAnalyzer {
      11                 :            : public:
      12                 :            :         HTTP_Analyzer_binpac(Connection* conn);
      13                 :            :         virtual ~HTTP_Analyzer_binpac();
      14                 :            : 
      15                 :            :         virtual void Done();
      16                 :            :         virtual void DeliverStream(int len, const u_char* data, bool orig);
      17                 :            :         virtual void Undelivered(int seq, int len, bool orig);
      18                 :            :         virtual void EndpointEOF(TCP_Reassembler* endp);
      19                 :            : 
      20                 :          0 :         static Analyzer* InstantiateAnalyzer(Connection* conn)
      21                 :          0 :                 { return new HTTP_Analyzer_binpac(conn); }
      22                 :            : 
      23                 :          1 :         static bool Available()
      24 [ -  + ][ #  # ]:          1 :                 { return (http_request || http_reply) && FLAGS_use_binpac; }
                 [ -  + ]
      25                 :            : 
      26                 :            : protected:
      27                 :            :         binpac::HTTP::HTTP_Conn* interp;
      28                 :            : };
      29                 :            : 
      30                 :            : #endif

Generated by: LCOV version 1.8