XRootD
XrdClHttpPlugInFactory.cc
Go to the documentation of this file.
1 
6 
7 #include "XrdVersion.hh"
8 
11 
13 
14 extern "C"
15 {
16  void *XrdClGetPlugIn( const void* /*arg*/ )
17  {
18  return static_cast<void*>( new HttpPlugInFactory());
19  }
20 }
21 
22 HttpPlugInFactory::~HttpPlugInFactory() {
23 }
24 
25 XrdCl::FilePlugIn* HttpPlugInFactory::CreateFile( const std::string &/*url*/ ) {
26  return new XrdCl::HttpFilePlugIn();
27 }
28 
29 XrdCl::FileSystemPlugIn* HttpPlugInFactory::CreateFileSystem( const std::string& url ) {
30  return new XrdCl::HttpFileSystemPlugIn(url);
31 }
XrdVERSIONINFO(XrdClGetPlugIn, XrdClGetPlugIn) extern "C"
void * XrdClGetPlugIn(const void *)
An interface for file plug-ins.
An interface for file plug-ins.