XRootD
XrdSecServer.cc File Reference
#include <unistd.h>
#include <cctype>
#include <cerrno>
#include <fcntl.h>
#include <netdb.h>
#include <cstdlib>
#include <strings.h>
#include <cstdio>
#include <sys/param.h>
#include "XrdVersion.hh"
#include "XrdSys/XrdSysLogger.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysError.hh"
#include "XrdOuc/XrdOucEnv.hh"
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdOuc/XrdOucPinKing.hh"
#include "XrdNet/XrdNetAddr.hh"
#include "XrdSec/XrdSecEntityPin.hh"
#include "XrdSec/XrdSecInterface.hh"
#include "XrdSec/XrdSecProtector.hh"
#include "XrdSec/XrdSecServer.hh"
#include "XrdSec/XrdSecTrace.hh"
+ Include dependency graph for XrdSecServer.cc:

Go to the source code of this file.

Classes

class  XrdSecPinInfo
 
class  XrdSecProtBind
 
class  XrdSecProtParm
 

Macros

#define EAUTH   EBADE
 
#define Max(x, y)   (x > y ? x : y)
 
#define TS_Bit(x, m, v)   if (!strcmp(x,var)) {m = v; return 0;}
 
#define TS_Chr(x, m)   if (!strcmp(x,var)) {m = val[0]; return 0;}
 
#define TS_Str(x, m)   if (!strcmp(x,var)) {free(m); m = strdup(val); return 0;}
 
#define TS_Xeq(x, m)   if (!strcmp(x,var)) return m(Config,Eroute);
 

Functions

XrdSecServiceXrdSecgetService (XrdSysLogger *lp, const char *cfn)
 

Macro Definition Documentation

◆ EAUTH

#define EAUTH   EBADE

Definition at line 58 of file XrdSecServer.cc.

◆ Max

#define Max (   x,
 
)    (x > y ? x : y)

Definition at line 435 of file XrdSecServer.cc.

◆ TS_Bit

#define TS_Bit (   x,
  m,
 
)    if (!strcmp(x,var)) {m = v; return 0;}

Definition at line 433 of file XrdSecServer.cc.

◆ TS_Chr

#define TS_Chr (   x,
 
)    if (!strcmp(x,var)) {m = val[0]; return 0;}

Definition at line 431 of file XrdSecServer.cc.

◆ TS_Str

#define TS_Str (   x,
 
)    if (!strcmp(x,var)) {free(m); m = strdup(val); return 0;}

Definition at line 429 of file XrdSecServer.cc.

◆ TS_Xeq

#define TS_Xeq (   x,
 
)    if (!strcmp(x,var)) return m(Config,Eroute);

Definition at line 427 of file XrdSecServer.cc.

Function Documentation

◆ XrdSecgetService()

XrdSecService* XrdSecgetService ( XrdSysLogger lp,
const char *  cfn 
)

Definition at line 1195 of file XrdSecServer.cc.

1196 {
1197  XrdSecServer *SecServer = new XrdSecServer(lp);
1198 
1199 // Configure the server object
1200 //
1201  if (SecServer->Configure(cfn)) return 0;
1202 
1203 // Return the server object
1204 //
1205  return (XrdSecService *)SecServer;
1206 }
int Configure(const char *cfn)

References XrdSecServer::Configure().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: