XRootD
Loading...
Searching...
No Matches
XrdSecProtocolunix.cc File Reference
#include <unistd.h>
#include <cctype>
#include <cerrno>
#include <cstdlib>
#include <strings.h>
#include <sys/types.h>
#include "XrdVersion.hh"
#include "XrdNet/XrdNetAddrInfo.hh"
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdOuc/XrdOucUtils.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysPthread.hh"
#include "XrdSec/XrdSecInterface.hh"
+ Include dependency graph for XrdSecProtocolunix.cc:

Go to the source code of this file.

Classes

class  XrdSecProtocolunix
 

Functions

char * XrdSecProtocolunixInit (const char mode, const char *parms, XrdOucErrInfo *erp)
 
XrdSecProtocolXrdSecProtocolunixObject (const char mode, const char *hostname, XrdNetAddrInfo &endPoint, const char *parms, XrdOucErrInfo *erp)
 
 XrdVERSIONINFO (XrdSecProtocolunixObject, secunix)
 

Function Documentation

◆ XrdSecProtocolunixInit()

char * XrdSecProtocolunixInit ( const char mode,
const char * parms,
XrdOucErrInfo * erp )

Definition at line 183 of file XrdSecProtocolunix.cc.

186{
187 return (char *)"";
188}

◆ XrdSecProtocolunixObject()

XrdSecProtocol * XrdSecProtocolunixObject ( const char mode,
const char * hostname,
XrdNetAddrInfo & endPoint,
const char * parms,
XrdOucErrInfo * erp )

Definition at line 199 of file XrdSecProtocolunix.cc.

204{
205 XrdSecProtocolunix *prot;
206
207// Return a new protocol object
208//
209 if (!(prot = new XrdSecProtocolunix(hostname, endPoint)))
210 {const char *msg = "Seckunix: Insufficient memory for protocol.";
211 if (erp) erp->setErrInfo(ENOMEM, msg);
212 else std::cerr <<msg <<std::endl;
213 return (XrdSecProtocol *)0;
214 }
215
216// All done
217//
218 return prot;
219}
int setErrInfo(int code, const char *emsg)

References XrdOucErrInfo::setErrInfo().

+ Here is the call graph for this function:

◆ XrdVERSIONINFO()

XrdVERSIONINFO ( XrdSecProtocolunixObject ,
secunix  )