#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "xmlServer.h"
#include <TROOT.h>
#include <TClass.h>
#include <TDirectory.h>
#include <TKey.h>
#include <TFolder.h>
#include <TSocket.h>
#include <TServerSocket.h>
#include <TThread.h>
#include <TMessage.h>
#include <TObjString.h>
#include <TH1.h>
#include <TCutG.h>
#include <TBufferXML.h>
#include <deque>
#include <map>
#include <string>
Go to the source code of this file.
|  | 
| static std::string | HtmlEncode (const char *s) | 
|  | 
| static std::string | UrlEncode (const char *s) | 
|  | 
| static int | atohex (int a) | 
|  | 
| static std::string | HtmlDecode (const char *s) | 
|  | 
| static TObject * | FollowPath (TObject *container, char *path) | 
|  | 
| static TObject * | FindTopLevelObject (const char *name) | 
|  | 
| static TObject * | TopLevel (char *path, char **opath) | 
|  | 
| static TObject * | FollowPath (char *path) | 
|  | 
| static void | SendString (TSocket *sock, const char *str) | 
|  | 
| static void | SendHttpReply (TSocket *sock, const char *mimetype, const char *message) | 
|  | 
| static void | SendHttpReply (TSocket *sock, const char *mimetype, const std::string &str) | 
|  | 
| static std::string | HtmlTag (const char *tag, const char *contents) | 
|  | 
| static std::string | HtmlTag (const char *tag, const std::string &contents) | 
|  | 
| std::string | MakeXmlEntry (const TObject *obj) | 
|  | 
| std::string | MakeHtmlEntry (const TObject *obj, const char *path) | 
|  | 
| static void | SendFile (TSocket *sock, const char *filename, const char *mimetype) | 
|  | 
| static THREADTYPE | xroot_server_thread (void *arg) | 
|  | 
| static THREADTYPE | xsocket_listener (void *arg) | 
|  | 
◆ THREADRETURN
◆ THREADTYPE
◆ atohex()
  
  | 
        
          | static int atohex | ( | int | a | ) |  |  | static | 
 
 
◆ FindTopLevelObject()
  
  | 
        
          | static TObject * FindTopLevelObject | ( | const char * | name | ) |  |  | static | 
 
 
◆ FollowPath() [1/2]
  
  | 
        
          | static TObject * FollowPath | ( | char * | path | ) |  |  | static | 
 
 
◆ FollowPath() [2/2]
  
  | 
        
          | static TObject * FollowPath | ( | TObject * | container, |  
          |  |  | char * | path |  
          |  | ) |  |  |  | static | 
 
 
◆ HtmlDecode()
  
  | 
        
          | static std::string HtmlDecode | ( | const char * | s | ) |  |  | static | 
 
 
◆ HtmlEncode()
  
  | 
        
          | static std::string HtmlEncode | ( | const char * | s | ) |  |  | static | 
 
 
◆ HtmlTag() [1/2]
  
  | 
        
          | static std::string HtmlTag | ( | const char * | tag, |  
          |  |  | const char * | contents |  
          |  | ) |  |  |  | static | 
 
 
◆ HtmlTag() [2/2]
  
  | 
        
          | static std::string HtmlTag | ( | const char * | tag, |  
          |  |  | const std::string & | contents |  
          |  | ) |  |  |  | static | 
 
 
◆ MakeHtmlEntry()
      
        
          | std::string MakeHtmlEntry | ( | const TObject * | obj, | 
        
          |  |  | const char * | path | 
        
          |  | ) |  |  | 
      
 
 
◆ MakeXmlEntry()
      
        
          | std::string MakeXmlEntry | ( | const TObject * | obj | ) |  | 
      
 
 
◆ SendFile()
  
  | 
        
          | static void SendFile | ( | TSocket * | sock, |  
          |  |  | const char * | filename, |  
          |  |  | const char * | mimetype |  
          |  | ) |  |  |  | static | 
 
 
◆ SendHttpReply() [1/2]
  
  | 
        
          | static void SendHttpReply | ( | TSocket * | sock, |  
          |  |  | const char * | mimetype, |  
          |  |  | const char * | message |  
          |  | ) |  |  |  | static | 
 
 
◆ SendHttpReply() [2/2]
  
  | 
        
          | static void SendHttpReply | ( | TSocket * | sock, |  
          |  |  | const char * | mimetype, |  
          |  |  | const std::string & | str |  
          |  | ) |  |  |  | static | 
 
 
◆ SendString()
  
  | 
        
          | static void SendString | ( | TSocket * | sock, |  
          |  |  | const char * | str |  
          |  | ) |  |  |  | static | 
 
 
◆ TopLevel()
  
  | 
        
          | static TObject * TopLevel | ( | char * | path, |  
          |  |  | char ** | opath |  
          |  | ) |  |  |  | static | 
 
 
◆ UrlEncode()
  
  | 
        
          | static std::string UrlEncode | ( | const char * | s | ) |  |  | static | 
 
 
◆ xroot_server_thread()
  
  | 
        
          | static THREADTYPE xroot_server_thread | ( | void * | arg | ) |  |  | static | 
 
 
◆ xsocket_listener()
◆ gExportNames
  
  | 
        
          | std::map<std::string,std::string> gExportNames |  | static | 
 
 
◆ gExports
  
  | 
        
          | std::deque<std::string> gExports |  | static | 
 
 
◆ gVerbose