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 185 of file XrdNetIdentity.cc.

186{
187 if (eText) *eText = DNS_Error;
188 return DNS_Domain;
189}
static const char * DNS_Error
static const char * DNS_Domain

References DNS_Domain, and DNS_Error.

Referenced by XrdOfsTPCProg::Run().

Here is the caller graph for this function:

◆ FQN()

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

Definition at line 195 of file XrdNetIdentity.cc.

196{
197 if (eText) *eText = DNS_Error;
198 return DNS_FQN;
199}
static char DNS_FQN[256]

References DNS_Error, and DNS_FQN.

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

Here is the caller graph for this function:

◆ SetFQN()

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

Definition at line 205 of file XrdNetIdentity.cc.

206{
207 strlcpy(DNS_FQN, fqn, sizeof(DNS_FQN));
208 if (!(DNS_Domain = index(DNS_FQN, '.'))) DNS_Domain = "";
209 FQN_DNS = false;
210}
static bool FQN_DNS
size_t strlcpy(char *dst, const char *src, size_t sz)

References DNS_Domain, DNS_FQN, FQN_DNS, and strlcpy().

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: