"Fossies" - the Fresh Open Source Software Archive

Member "postal-0.76/results.h" (1 Jan 2012, 523 Bytes) of package /linux/privat/postal-0.76.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "results.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef RESULTS_H
    2 #define RESULTS_H
    3 
    4 #include <time.h>
    5 #include "mutex.h"
    6 
    7 class results
    8 {
    9 public:
   10   results();
   11   virtual ~results();
   12 
   13   void error();
   14   void dataBytes(int bytes);
   15   void message();
   16   void connection();
   17 #ifdef USE_SSL
   18   void connect_ssl();
   19 #endif
   20 
   21   void print();
   22 
   23 protected:
   24   virtual void childPrint();
   25   int m_connections;
   26 #ifdef USE_SSL
   27   int m_ssl_connections;
   28 #endif
   29 
   30   void m_print();
   31 
   32   Mutex m_mut;
   33 private:
   34 
   35   unsigned int m_msgs;
   36   unsigned long long m_bytes;
   37   unsigned int m_errors;
   38 };
   39 
   40 #endif