Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
http: reformat sources, use doxygen comments style
  • Loading branch information
linev committed Apr 10, 2017
commit 6ba6029489919b63932d5b623ef241bd2ec2e47f
28 changes: 14 additions & 14 deletions net/http/inc/TCivetweb.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// $Id$
// Author: Sergey Linev 21/12/2013

/*************************************************************************
* Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#ifndef ROOT_TCivetweb
#define ROOT_TCivetweb

Expand All @@ -9,28 +17,20 @@

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
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
const char *GetTopName() const { return fTopName.Data(); }

return fDebug;
}
Bool_t IsDebugMode() const { return fDebug; }

Int_t ProcessLog(const char* message);

Expand Down
21 changes: 13 additions & 8 deletions net/http/inc/TFastCgi.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// $Id$
// Author: Sergey Linev 28/12/2013

/*************************************************************************
* Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/

#ifndef ROOT_TFastCgi
#define ROOT_TFastCgi

Expand All @@ -10,18 +18,15 @@ class TThread;

class TFastCgi : public THttpEngine {
protected:
Int_t fSocket; //! socket used by fastcgi
Bool_t fDebugMode; //! debug mode, may required for fastcgi debugging in other servers
TString fTopName; //! name of top item
TThread *fThrd; //! thread which takes requests, can be many later
Int_t fSocket; ///<! socket used by fastcgi
Bool_t fDebugMode; ///<! debug mode, may required for fastcgi debugging in other servers
TString fTopName; ///<! name of top item
TThread *fThrd; ///<! thread which takes requests, can be many later
public:
TFastCgi();
virtual ~TFastCgi();

Int_t GetSocket() const
{
return fSocket;
}
Int_t GetSocket() const { return fSocket; }

virtual Bool_t Create(const char *args);

Expand Down
Loading