XRootD
Loading...
Searching...
No Matches
XrdNetIdentity Class Reference

#include <XrdNetIdentity.hh>

+ Collaboration diagram for XrdNetIdentity:

Public Member Functions

 XrdNetIdentity ()
 
 ~XrdNetIdentity ()
 

Static Public Member Functions

static const char * Domain (const char **eText=0)
 
static const char * FQN (const char **etext=0)
 
static void SetFQN (const char *fqn)
 

Detailed Description

Definition at line 32 of file XrdNetIdentity.hh.

Constructor & Destructor Documentation

◆ XrdNetIdentity()

XrdNetIdentity::XrdNetIdentity ( )
inline

Definition at line 42 of file XrdNetIdentity.hh.

42{}

◆ ~XrdNetIdentity()

XrdNetIdentity::~XrdNetIdentity ( )
inline

Definition at line 43 of file XrdNetIdentity.hh.

43{}

Member Function Documentation

◆ Domain()

const char * XrdNetIdentity::Domain ( const char ** eText = 0)
static

Definition at line 190 of file XrdNetIdentity.cc.

191{
192 initIdentity();
193 if (eText) *eText = DNS_Error;
194 return DNS_Domain;
195}
static const char * DNS_Error
static void initIdentity()
static const char * DNS_Domain

References DNS_Domain, DNS_Error, and initIdentity().

Referenced by XrdOfsTPCProg::Run().

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

◆ FQN()

const char * XrdNetIdentity::FQN ( const char ** etext = 0)
static

Definition at line 201 of file XrdNetIdentity.cc.

202{
203 initIdentity();
204 if (eText) *eText = DNS_Error;
205 return DNS_FQN;
206}
static char DNS_FQN[256]

References DNS_Error, DNS_FQN, and initIdentity().

Referenced by XrdNetAddr::XrdNetAddr(), and XrdNetUtils::MyHostName().

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

◆ SetFQN()

void XrdNetIdentity::SetFQN ( const char * fqn)
static

Definition at line 212 of file XrdNetIdentity.cc.

213{
214 initIdentity();
215 strlcpy(DNS_FQN, fqn, sizeof(DNS_FQN));
217 if (!(DNS_Domain = index(DNS_FQN, '.'))) DNS_Domain = "";
218}
size_t strlcpy(char *dst, const char *src, size_t sz)
static void toLower(char *str)

References DNS_Domain, DNS_FQN, initIdentity(), strlcpy(), and XrdOucUtils::toLower().

Referenced by XrdConfig::Configure().

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

The documentation for this class was generated from the following files: