// $Id$
// Author: Sergey Linev   21/12/2013

#ifndef ROOT_TCivetweb
#define ROOT_TCivetweb

#ifndef ROOT_THttpEngine
#include "THttpEngine.h"
#endif

class TCivetweb : public THttpEngine {
protected:
   void     *fCtx;           //! civetweb context
   void     *fCallbacks;     //! call-back table for civetweb webserver
   TString   fTopName;       //! name of top item
   Bool_t    fDebug;         //! debug mode

public:
   TCivetweb();
   virtual ~TCivetweb();

   virtual Bool_t Create(const char *args);

   const char *GetTopName() const
   {
      return fTopName.Data();
   }

   Bool_t IsDebugMode() const
   {
      // indicates that

      return fDebug;
   }

   Int_t ProcessLog(const char* message);

   ClassDef(TCivetweb, 0) // http server implementation, based on civetweb embedded server
};


#endif
 TCivetweb.h:1
 TCivetweb.h:2
 TCivetweb.h:3
 TCivetweb.h:4
 TCivetweb.h:5
 TCivetweb.h:6
 TCivetweb.h:7
 TCivetweb.h:8
 TCivetweb.h:9
 TCivetweb.h:10
 TCivetweb.h:11
 TCivetweb.h:12
 TCivetweb.h:13
 TCivetweb.h:14
 TCivetweb.h:15
 TCivetweb.h:16
 TCivetweb.h:17
 TCivetweb.h:18
 TCivetweb.h:19
 TCivetweb.h:20
 TCivetweb.h:21
 TCivetweb.h:22
 TCivetweb.h:23
 TCivetweb.h:24
 TCivetweb.h:25
 TCivetweb.h:26
 TCivetweb.h:27
 TCivetweb.h:28
 TCivetweb.h:29
 TCivetweb.h:30
 TCivetweb.h:31
 TCivetweb.h:32
 TCivetweb.h:33
 TCivetweb.h:34
 TCivetweb.h:35
 TCivetweb.h:36
 TCivetweb.h:37
 TCivetweb.h:38
 TCivetweb.h:39
 TCivetweb.h:40
 TCivetweb.h:41
 TCivetweb.h:42