XrdWin32.hh File Reference

#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <io.h>
#include <time.h>
#include <direct.h>
#include <sys/types.h>
#include <Winsock2.h>

Go to the source code of this file.

Classes

struct  pollfd
struct  timezone
struct  iovec
struct  sockaddr_un

Defines

#define POLLIN   0x0001
#define POLLPRI   0x0002
#define POLLOUT   0x0004
#define POLLERR   0x0008
#define POLLHUP   0x0010
#define POLLNVAL   0x0020
#define POLLRDNORM   0x0001
#define POLLWRNORM   0x0002
#define POLLRDBAND   0x0000
#define EMSGSIZE   WSAEMSGSIZE
#define EAFNOSUPPORT   WSAEAFNOSUPPORT
#define EWOULDBLOCK   WSAEWOULDBLOCK
#define ECONNRESET   WSAECONNRESET
#define EINPROGRESS   WSAEINPROGRESS
#define ENOBUFS   WSAENOBUFS
#define EPROTONOSUPPORT   WSAEPROTONOSUPPORT
#define ECONNREFUSED   WSAECONNREFUSED
#define EBADFD   WSAENOTSOCK
#define EOPNOTSUPP   WSAEOPNOTSUPP
#define ENETUNREACH   WSAENETUNREACH
#define EHOSTUNREACH   WSAEHOSTUNREACH
#define EHOSTDOWN   WSAEHOSTDOWN
#define EISCONN   WSAEISCONN
#define ECONNABORTED   WSAECONNABORTED
#define ESHUTDOWN   WSAESHUTDOWN
#define ETIMEDOUT   WSAETIMEDOUT
#define ETXTBSY   26
#define WEXITSTATUS(w)   (((w) >> 8) & 0xff)
#define WIFEXITED(w)   (((w) & 0xff) == 0)
#define WTERMSIG(w)   ((w) & 0x7f)
#define WIFSIGNALED(w)   (((w) & 0x7f) > 0 && (((w) & 0x7f) < 0x7f))
#define S_ISDIR(m)   (((m)&(S_IFMT)) == (S_IFDIR))
#define S_ISREG(m)   (((m)&(S_IFMT)) == (S_IFREG))
#define S_IXUSR   00100
#define S_IRGRP   00040
#define S_IXGRP   00010
#define S_IROTH   00004
#define S_IXOTH   00001
#define S_IRUSR   S_IREAD
#define S_IWUSR   S_IWRITE
#define S_IWGRP   000020
#define S_IWOTH   000002
#define S_IRWXU   0000700
#define S_IRWXG   0000070
#define S_IFIFO   0010000
#define S_ISFIFO(m)   ((m & S_IFMT) == S_IFIFO)
#define S_IFSOCK   0140000
#define _SC_PAGESIZE   1
#define F_GETFL   1
#define F_SETFL   2
#define F_GETFD   4
#define F_SETFD   8
#define FD_CLOEXEC   1
#define O_NDELAY   2
#define O_NONBLOCK   4
#define X_OK   1
#define W_OK   2
#define R_OK   4
#define RTLD_NOW   0x0001
#define STDIN_FILENO   0
#define STDOUT_FILENO   1
#define STDERR_FILENO   2
#define fsync(a)   _commit(a)
#define socklen_t   int
#define SOCKLEN_t   int
#define snprintf   _snprintf
#define localtime_r(_clock, _result)
#define pipe(a)   _pipe(a, 256, O_BINARY)
#define rindex   strrchr
#define sleep(s)   Sleep(s*1000)
#define strtoll(a, b, c)   _strtoi64(a, b, c)
#define ntohll(x)   (((_int64)(ntohl((int)((x << 32) >> 32))) << 32) | (unsigned int)ntohl(((int)(x >> 32))))
#define htonll(x)   ntohll(x)
#define random()   rand()
#define usleep(x)   Sleep(x / 1000)
#define lstat(a, b)   stat(a, b)
#define memalign(a, b)   _aligned_malloc(b, a)
#define setpgid(x, y)
#define fsync(a)   _commit(a)
#define ssize_t   SSIZE_T

Typedefs

typedef char * caddr_t
typedef int pid_t
typedef unsigned int mode_t
typedef unsigned short uint16_t

Functions

int poll (struct pollfd *fds, unsigned int nfds, int timeout)
int lrint (double n)
void gethostbyname_r (const char *inetName, struct hostent *hent, char *buff, int buffsize, struct hostent **hp, int *rc)
void gethostbyaddr_r (char *addr, size_t len, int type, struct hostent *hent, char *buff, size_t buffsize, struct hostent **hp, int *rc)
int getservbyname_r (const char *servname, const char *servtype, struct servent *sent, char *buff, size_t buffsize, struct servent **sp)
int gettimeofday (struct timeval *tp, struct timezone *tzp)
void * dlopen (const char *libPath, int opt)
BOOL dlclose (void *lib)
void * dlsym (void *libHandle, const char *pname)
char * dlerror ()
pid_t fork ()
const char * inet_ntop (int af, const void *src, char *dst, size_t size)
int sysconf (int what)
int fcntl (int fd, int cmd, long arg)
int close (int fd)
int writev (int sock, const struct iovec iov[], int nvecs)
int posix_memalign (void **memptr, size_t alignment, size_t size)
char * index (const char *str, int c)
char * cuserid (char *s)


Define Documentation

#define _SC_PAGESIZE   1

Definition at line 170 of file XrdWin32.hh.

Referenced by XrdClientMessage::CreateData(), XrdCmsRRData::getBuff(), mvalloc(), and XrdNetBufferQ::XrdNetBufferQ().

#define EAFNOSUPPORT   WSAEAFNOSUPPORT

Definition at line 60 of file XrdWin32.hh.

#define EBADFD   WSAENOTSOCK

Definition at line 81 of file XrdWin32.hh.

#define ECONNABORTED   WSAECONNABORTED

Definition at line 102 of file XrdWin32.hh.

Referenced by TKSocket::BlockRead(), XrdCmsProtocol::Dispatch(), XrdCmsProtocol::Execute(), and XrdSecProtocolssl::secServer().

#define ECONNREFUSED   WSAECONNREFUSED

Definition at line 78 of file XrdWin32.hh.

#define ECONNRESET   WSAECONNRESET

Definition at line 66 of file XrdWin32.hh.

Referenced by XrdSecTLayer::Authenticate(), XrdSecTLayer::getCredentials(), XrdProofdProtocol::GetData(), TUnixSystem::UnixRecv(), and TUnixSystem::UnixSend().

#define EHOSTDOWN   WSAEHOSTDOWN

Definition at line 93 of file XrdWin32.hh.

#define EHOSTUNREACH   WSAEHOSTUNREACH

Definition at line 90 of file XrdWin32.hh.

Referenced by XrdPosixXrootd::mapError(), XrdCnsLogClient::mapError(), and XrdNetSocket::Open().

#define EINPROGRESS   WSAEINPROGRESS

Definition at line 69 of file XrdWin32.hh.

Referenced by XrdXrootdProtocol::aio_WriteAll(), XrdOssSys::CalcTime(), XrdNetConnect::Connect(), XrdCmsParser::Decode(), XrdCmsClientMan::delayResp(), XrdXrootdProtocol::do_Bind(), XrdXrootdProtocol::do_OffloadIO(), XrdCmsJob::DoIt(), XrdLink::DoIt(), XrdCmsProtocol::Execute(), XrdOfs::fsError(), XrdOfsFile::open(), XrdPosixXrootd::Open(), XrdCmsFinderRMT::send2Man(), and XrdOssAioWait().

#define EISCONN   WSAEISCONN

Definition at line 96 of file XrdWin32.hh.

Referenced by TWebFile::GetHead(), and TWebSocket::ReOpen().

#define EMSGSIZE   WSAEMSGSIZE

Definition at line 57 of file XrdWin32.hh.

Referenced by XrdOucStream::GetLine(), XrdNetMsg::Send(), and XrdNetLink::Send().

#define ENETUNREACH   WSAENETUNREACH

Definition at line 87 of file XrdWin32.hh.

Referenced by XrdCmsParser::mapError(), XrdXrootdProtocol::mapError(), and XrdCmsReq::Reply_Error().

#define ENOBUFS   WSAENOBUFS

Definition at line 72 of file XrdWin32.hh.

Referenced by XrdSecProtocolsss::Encode(), XrdXrootdProtocol::mapError(), and XrdXrootdAioReq::Read().

#define EOPNOTSUPP   WSAEOPNOTSUPP

Definition at line 84 of file XrdWin32.hh.

#define EPROTONOSUPPORT   WSAEPROTONOSUPPORT

Definition at line 75 of file XrdWin32.hh.

Referenced by XrdCryptoLite::Create(), XrdSecPManager::Get(), and XrdSecServer::getProtocol().

#define ESHUTDOWN   WSAESHUTDOWN

Definition at line 105 of file XrdWin32.hh.

#define ETIMEDOUT   WSAETIMEDOUT

Definition at line 108 of file XrdWin32.hh.

#define ETXTBSY   26

Definition at line 111 of file XrdWin32.hh.

Referenced by XrdXrootdProtocol::mapError(), XrdOssFile::Open(), XrdOfsFile::open(), XrdOfsHandle::PoscSet(), and XrdOucStream::Put().

#define EWOULDBLOCK   WSAEWOULDBLOCK

Definition at line 63 of file XrdWin32.hh.

Referenced by TUnixSystem::AcceptConnection(), read__fixio(), XrdClientSock::RecvRaw(), XrdNetLink::retErr(), XrdNetMsg::retErr(), XrdClientSock::SendRaw_sock(), XrdOssLock::Serialize(), TUnixSystem::UnixRecv(), TUnixSystem::UnixSend(), and XrdOssLock::UnSerialize().

#define F_GETFD   4

Definition at line 174 of file XrdWin32.hh.

#define F_GETFL   1

Definition at line 172 of file XrdWin32.hh.

Referenced by XrdNetConnect::Connect(), TUnixSystem::GetSockOpt(), XrdSutPFile::Open(), read__fixio(), XrdSecProtocolssl::secClient(), and XrdSecProtocolssl::secServer().

#define F_SETFD   8

Definition at line 175 of file XrdWin32.hh.

Referenced by XrdSecTLayer::bootUp(), XrdFrmConfig::ConfigMum(), XrdNetConnect::Connect(), XrdOucStream::Exec(), XrdFrmReqFile::FileLock(), FT_Stream_Open(), XrdFrmReqFile::Init(), XrdOssFile::Open_ufs(), XrdSysLogger::ReBind(), XrdFrmReqFile::ReWrite(), XrdFrmXfrQueue::Send2File(), XrdOssLock::Serialize(), XrdNetSocket::setOpts(), XrdLink::Setup(), XrdFrmTransfer::ThrowOK(), XrdFrmCID::Update(), XrdPoll::XrdPoll(), and XrdSysLogger::XrdSysLogger().

#define F_SETFL   2

Definition at line 173 of file XrdWin32.hh.

Referenced by XrdNetConnect::Connect(), XrdSecProtocolssl::secClient(), XrdSecProtocolssl::secServer(), and XrdNetLink::SetOpts().

#define FD_CLOEXEC   1

Definition at line 177 of file XrdWin32.hh.

Referenced by XrdSecTLayer::bootUp(), XrdFrmConfig::ConfigMum(), XrdOucStream::Exec(), XrdFrmReqFile::FileLock(), FT_Stream_Open(), XrdFrmReqFile::Init(), XrdOssFile::Open_ufs(), XrdSysLogger::ReBind(), XrdFrmReqFile::ReWrite(), XrdFrmXfrQueue::Send2File(), XrdOssLock::Serialize(), XrdNetSocket::setOpts(), XrdLink::Setup(), XrdFrmTransfer::ThrowOK(), XrdFrmCID::Update(), XrdPoll::XrdPoll(), and XrdSysLogger::XrdSysLogger().

#define fsync (  )     _commit(a)

Definition at line 345 of file XrdWin32.hh.

#define fsync (  )     _commit(a)

Definition at line 345 of file XrdWin32.hh.

#define htonll ( x   )     ntohll(x)

Definition at line 337 of file XrdWin32.hh.

Referenced by XrdMonSndCoder::add_kXR_int64(), XPD::clientMarshall(), clientMarshallReadAheadList(), and XrdSecProtocolsss::getCredentials().

#define localtime_r ( _clock,
_result   ) 

Value:

( *(_result) = *localtime( (_clock) ), \
          (_result) )

Definition at line 326 of file XrdWin32.hh.

#define lstat ( a,
b   )     stat(a, b)

Definition at line 341 of file XrdWin32.hh.

Referenced by XrdFrmAdmin::AuditNameXA(), XrdFrmAdmin::AuditSpaceAXDC(), XrdCpWorkLst::BuildWorkList_loc(), XrdOssSys::Create(), XrdOssPath::Extract(), XrdOssCache::Find(), XrdOssPath::getCname(), XrdOucNSWalk::getStat(), globus_l_gfs_posix_stat(), issymbolic(), XrdOucNSWalk::isSymlink(), XrdFrmAdmin::Reloc(), XrdOssSys::Remdir(), XrdOssSys::Rename(), XrdOssSys::RenameLink(), RootdFstat(), XrdCpWorkLst::SetDest(), XrdOssSys::Truncate(), TUnixSystem::UnixFilestat(), TUnixSystem::Unlink(), and XrdOssSys::Unlink().

#define memalign ( a,
b   )     _aligned_malloc(b, a)

Definition at line 342 of file XrdWin32.hh.

Referenced by XrdNetBufferQ::Alloc(), XrdBuffManager::Obtain(), XrdStats::Stats(), and XrdXrootdMonitor::XrdXrootdMonitor().

#define ntohll ( x   )     (((_int64)(ntohl((int)((x << 32) >> 32))) << 32) | (unsigned int)ntohl(((int)(x >> 32))))

Definition at line 336 of file XrdWin32.hh.

Referenced by clientUnMarshallReadAheadList(), debugRWRequest(), XrdSecProtocolsss::Decode(), XrdMonDecPacketDecoder::decodeRWRequest(), XrdProofdNetMgr::ReadBuffer(), XrdClientReadV::SubmitToCacheReadVResp(), XrdOucPup::Unpack(), and XrdClientReadV::UnpackReadVResp().

#define O_NDELAY   2

Definition at line 178 of file XrdWin32.hh.

Referenced by XrdNetConnect::Connect(), TUnixSystem::GetSockOpt(), and read__fixio().

#define O_NONBLOCK   4

Definition at line 179 of file XrdWin32.hh.

Referenced by XrdNetConnect::Connect(), XrdSecProtocolssl::secClient(), XrdSecProtocolssl::secServer(), and XrdNetLink::SetOpts().

#define pipe (  )     _pipe(a, 256, O_BINARY)

Definition at line 331 of file XrdWin32.hh.

Referenced by TCondor::ClaimVM(), XrdFrmConfig::ConfigMum(), XrdOucStream::Exec(), GetCygwinRootDir(), TSystem::GetFromPipe(), TCondor::GetImage(), TCondor::GetVirtualMachines(), TCondor::GetVmInfo(), RooRealMPFE::initialize(), main(), TCondor::Release(), ROOT::RpdReUseAuth(), ROOT::RpdSshAuth(), TCondor::SetState(), TAuthenticate::SshAuth(), stress16(), XrdProofdClient::TerminateSessions(), TXSockPipe::TXSockPipe(), XrdROOTMgr::Validate(), XrdPoll::XrdPoll(), and XrdProofdPipe::XrdProofdPipe().

#define POLLERR   0x0008

Definition at line 42 of file XrdWin32.hh.

Referenced by poll(), XrdPoll::Poll2Text(), XrdClientSock::RecvRaw(), and XrdClientSock::SendRaw_sock().

#define POLLHUP   0x0010

Definition at line 43 of file XrdWin32.hh.

Referenced by XrdNetSocket::Accept(), XrdNet::Accept(), XrdPoll::Poll2Text(), XrdSecTLayer::Read(), XrdClientSock::RecvRaw(), and XrdClientSock::SendRaw_sock().

#define POLLIN   0x0001

Definition at line 39 of file XrdWin32.hh.

Referenced by XrdNetSocket::Accept(), XrdNet::Accept(), XrdNetLink::OK2Recv(), XrdLink::Peek(), poll(), XrdProofdPipe::Poll(), XrdSecTLayer::Read(), XrdLink::Recv(), XrdLink::RecvAll(), XrdClientSock::RecvRaw(), XrdROOTMgr::Validate(), XrdOucStream::Wait4Data(), and XrdPoll::XrdPoll().

#define POLLNVAL   0x0020

Definition at line 44 of file XrdWin32.hh.

Referenced by poll(), XrdPoll::Poll2Text(), XrdClientSock::RecvRaw(), and XrdClientSock::SendRaw_sock().

#define POLLOUT   0x0004

Definition at line 41 of file XrdWin32.hh.

Referenced by XrdNetConnect::Connect(), XrdNetLink::OK2Send(), XrdNetMsg::OK2Send(), poll(), and XrdClientSock::SendRaw_sock().

#define POLLPRI   0x0002

Definition at line 40 of file XrdWin32.hh.

Referenced by XrdNetSocket::Accept(), XrdNet::Accept(), poll(), and XrdClientSock::RecvRaw().

#define POLLRDBAND   0x0000

Definition at line 47 of file XrdWin32.hh.

Referenced by XrdNetSocket::Accept(), and XrdNet::Accept().

#define POLLRDNORM   0x0001

Definition at line 45 of file XrdWin32.hh.

Referenced by XrdNetSocket::Accept(), XrdNet::Accept(), XrdNetLink::OK2Recv(), XrdLink::Peek(), XrdSecTLayer::Read(), XrdLink::Recv(), XrdLink::RecvAll(), XrdOucStream::Wait4Data(), and XrdPoll::XrdPoll().

#define POLLWRNORM   0x0002

Definition at line 46 of file XrdWin32.hh.

Referenced by XrdNetConnect::Connect(), XrdNetLink::OK2Send(), and XrdNetMsg::OK2Send().

#define R_OK   4

Definition at line 183 of file XrdWin32.hh.

 
#define random (  )     rand()

Definition at line 338 of file XrdWin32.hh.

Referenced by Event::Build(), circular(), ClassImp(), ApplicationWindow::execute(), TFoam::GenerCel2(), TSVDUnfold::GetAdetCovMatrix(), getRandom(), TSVDUnfold::GetUnfoldCovMatrix(), TProofServ::HandleSocketInput(), hsimple(), TFoam::MakeEvent(), principal(), ProofNtuple::Process(), TObjArray::Randomize(), TVirtualMC::SetRandom(), ROOT::Math::GSLSimAn::Step(), ROOT::Math::GSLSimAnFunc::Step(), stress7(), testDistr1D(), Think(), tree1r(), tree1w(), tree4w(), write(), and XrdSecProtocolsslInit().

#define rindex   strrchr

Definition at line 332 of file XrdWin32.hh.

Referenced by XrdCnsSsi::AddDel(), XrdCnsSsi::AddFile(), XrdCnsSsi::ApplyLogRec(), XrdCnsLogClient::Archive(), XrdOssSys::ConfigSpace(), XrdOssSys::ConfigStageC(), XrdOssSys::ConfigStats(), XrdPssSys::Configure(), XrdConfig::Configure(), XrdOssSys::Create(), XrdCnsLog::Dirs(), XrdXrootdProtocol::do_Bind(), XrdFrmAdmin::FindFail(), GRSTgaclFileFindAclname(), GRSTgaclFileIsAcl(), GRSThttpPrintHeaderFooter(), GRSTxacmlFileFindAclname(), GRSTxacmlFileIsAcl(), XrdFrmPurgeDir::isEmpty(), XrdCnsLog::isEP(), main(), XrdCnsLogClient::Manifest(), XrdSfsNative::Mkpath(), XrdPssSys::P2URL(), XrdOssPath::pathType(), XrdFrmFiles::Process(), XrdOssSys::Reloc(), XrdOssSys::Rename(), XrdCmsPrepare::Reset(), XrdSecsssKT::Rewrite(), XrdCmsPrepare::setParms(), XrdNetSocket::socketPath(), XrdOucUtils::subLogfn(), XrdFrmTransfer::TrackDC(), XrdSysLogger::Trim(), XrdCnsSsi::Updt(), XrdFrmAdmin::VerifyAll(), XrdXrootdProtocol::xfsl(), and XrdPosixXrootPath::XrdPosixXrootPath().

#define RTLD_NOW   0x0001

Definition at line 185 of file XrdWin32.hh.

Referenced by XrdCmsSecurity::Configure(), XrdClientConn::DoAuthentication(), XrdCryptoFactory::GetCryptoFactory(), XrdSysPlugin::getPlugin(), XrdSecPManager::ldPO(), XrdProofdClientMgr::LoadSecurity(), XrdXrootdloadFileSystem(), and XrdXrootdloadSecurity().

#define S_IFIFO   0010000

Definition at line 161 of file XrdWin32.hh.

Referenced by XrdNetSocket::Create(), and XrdNetSocket::socketPath().

#define S_IFSOCK   0140000

Definition at line 167 of file XrdWin32.hh.

Referenced by XrdNetSocket::Create(), XrdCmsSupervisor::Init(), and XrdNetSocket::socketPath().

#define S_IRGRP   00040

Definition at line 129 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), XrdFrmConfig::ConfigPF(), CreateDestPath_loc(), XrdCnsLogClient::do_Create(), doCp_xrd2loc(), XrdFrmTransfer::Fetch(), XrdFrmTransfer::ffMake(), XrdSecsssKT::fileMode(), XrdMonBufferedOutput::flush(), fSetXattrAdler32(), XrdFrmFileset::getLock(), globus_l_gfs_posix_recv(), XrdFrmReqFile::Init(), XrdOssSpace::Init(), XrdOfsPoscq::Init(), main(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdFrmAdmin::mkFile(), XrdSecProtocolsslProcFile::Open(), XrdCnsLogFile::Open(), ParseArguments(), XrdSecProtocolpwd::QueryCrypt(), XrdSecProtocolpwd::QueryNetRc(), XrdSecsssKT::Rewrite(), XrdFrmReqFile::ReWrite(), XrdOfsPoscq::ReWrite(), ROOT::RpdRetrieveSpecialPass(), XrdFrmUtils::Unique(), XrdFrmCID::Update(), XrdCnsSsi::Updt(), XrdW41Gate::Wait41(), XrdCryptosslX509::XrdCryptosslX509(), and XrdOucSxeq::XrdOucSxeq().

#define S_IROTH   00004

Definition at line 135 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), XrdFrmConfig::ConfigPF(), XrdOfs::ConfigPosc(), XrdOssSys::ConfigStage(), XrdOssSys::Create(), CreateDestPath_loc(), XrdCnsLogClient::do_Create(), doCp_xrd2loc(), XrdFrmTransfer::Fetch(), XrdFrmTransfer::ffMake(), XrdMonBufferedOutput::flush(), fSetXattrAdler32(), XrdFrmFileset::getLock(), globus_l_gfs_posix_recv(), XrdCnsLogClient::Init(), XrdFrmReqFile::Init(), XrdOfsPoscq::Init(), main(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdFrmAdmin::mkFile(), XrdSfsNativeFile::open(), XrdSecProtocolsslProcFile::Open(), XrdCnsLogFile::Open(), ParseArguments(), XrdSecProtocolpwd::QueryCrypt(), XrdSecProtocolpwd::QueryNetRc(), XrdOssSys::Reloc(), XrdSecsssKT::Rewrite(), XrdFrmReqFile::ReWrite(), XrdOfsPoscq::ReWrite(), ROOT::RpdRetrieveSpecialPass(), XrdOucUtils::subLogfn(), XrdOssSys::tranmode(), XrdFrmUtils::Unique(), XrdFrmCID::Update(), XrdCnsSsi::Updt(), XrdW41Gate::Wait41(), XrdCryptosslX509::XrdCryptosslX509(), and XrdOucSxeq::XrdOucSxeq().

#define S_IRUSR   S_IREAD

Definition at line 141 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), XrdPosixXrootd::Access(), XrdFrmConfig::ConfigPF(), CreateDestPath_loc(), XrdXrootdProtocol::do_Open(), doCp_xrd2loc(), XrdFrmTransfer::Fetch(), XrdFrmTransfer::ffMake(), XrdSecsssKT::fileMode(), XrdMonBufferedOutput::flush(), XrdFrmFileset::getLock(), globus_l_gfs_posix_recv(), GRSTx509CacheProxy(), GRSTx509MakeProxyRequest(), history_save(), XrdFrmReqFile::Init(), XrdOssSpace::Init(), XrdOfsPoscq::Init(), main(), MakeCleanupScript(), XrdPosixXrootd::mapFlags(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdFrmAdmin::mkFile(), XrdCnsLogFile::Open(), XrdFrmReqFile::ReWrite(), XrdOfsPoscq::ReWrite(), ROOT::RpdCheckHostsEquiv(), ROOT::RpdGetRSAKeys(), XrdSecProtocolssl::secClient(), XrdSecProtocolssl::secServer(), XrdOssLock::Serialize(), XrdFrmUtils::Unique(), XrdFrmCID::Update(), XrdCmsState::Update(), XrdCnsSsi::Updt(), XrdW41Gate::Wait41(), and XrdOucSxeq::XrdOucSxeq().

#define S_IRWXG   0000070

Definition at line 156 of file XrdWin32.hh.

Referenced by XrdOssCache::Alloc(), XrdOfs::ConfigPosc(), XrdOssSys::ConfigStage(), XrdOssSys::Create(), XrdNetSocket::Create(), XrdSecsssKT::getKeyTab(), XrdCnsLogClient::Init(), XrdOssSpace::Init(), XrdSfsNativeFile::open(), XrdOssSys::Reloc(), XrdOssSys::Rename(), XrdNetSocket::socketPath(), XrdOucUtils::subLogfn(), XrdCmsConfig::xapath(), XrdFrmConfig::xapath(), XrdConfig::xapath(), and XrdOssCache_FS::XrdOssCache_FS().

#define S_IRWXU   0000700

Definition at line 153 of file XrdWin32.hh.

Referenced by XrdOssCache::Alloc(), XrdOfs::ConfigPosc(), XrdOssSys::ConfigStage(), XrdOssSys::Create(), XrdNetSocket::Create(), XrdXrootdProtocol::do_Mkdir(), fSetXattrAdler32(), XrdCnsLogClient::Init(), XrdOssSpace::Init(), XrdSfsNativeFile::open(), XrdSecProtocolsslProcFile::Open(), XrdNetSocket::Open(), XrdOssSys::Reloc(), XrdOssSys::Rename(), XrdSecsssKT::Rewrite(), XrdNetSocket::socketPath(), XrdOucUtils::subLogfn(), XrdCmsConfig::xapath(), XrdFrmConfig::xapath(), XrdConfig::xapath(), XrdOssCache_FS::XrdOssCache_FS(), and XrdSecsssKT::XrdSecsssKT().

#define S_ISDIR ( m   )     (((m)&(S_IFMT)) == (S_IFDIR))

Definition at line 120 of file XrdWin32.hh.

Referenced by XrdCpWorkLst::BuildWorkList_loc(), XrdProofdAux::ChangeMod(), XrdProofdAux::ChangeOwn(), XrdROOT::CheckDir(), direntry2ASImageListEntry(), XrdXrootdProtocol::do_Statx(), XrdSfsNative::exists(), XrdOfs::exists(), filename_completion_function(), FindFonts(), XrdOssSys::getCname(), globus_l_gfs_posix_stat(), GRSTgaclFileFindAclname(), GRSThttpPrintHeaderFooter(), GRSTx509VerifyVomsSig(), GRSTxacmlFileFindAclname(), main(), XrdProofdAux::MvDir(), ParseArguments(), HistAction::ProcessMessage(), XrdSecProtocolpwd::QueryCrypt(), XrdSecProtocolpwd::QueryNetRc(), recurse4dnlists(), XrdProofdAux::RmDir(), ROOT::RpdCheckHostsEquiv(), ROOT::RpdGetRSAKeys(), ROOT::RpdRetrieveSpecialPass(), XrdCpWorkLst::SetDest(), XrdOssSys::StatXA(), TUnixSystem::UnixOpendir(), TUnixSystem::Unlink(), XrdCryptosslX509::XrdCryptosslX509(), XrdFfsMisc_get_current_url(), and XrdFfsPosix_x_deleteall().

#define S_ISFIFO ( m   )     ((m & S_IFMT) == S_IFIFO)

Definition at line 163 of file XrdWin32.hh.

#define S_ISREG ( m   )     (((m)&(S_IFMT)) == (S_IFREG))

Definition at line 123 of file XrdWin32.hh.

Referenced by XrdCpWorkLst::BuildWorkList_loc(), XrdProofdAdmin::CheckPath(), XrdSfsNative::exists(), XrdOfs::exists(), XrdW41Dirs::Expand(), TUnixSystem::FindFile(), globus_l_gfs_posix_cksm_adler32(), GRSTx509CachedProxyFind(), GRSTx509CachedProxyKeyFind(), XrdOfsPoscq::Init(), main(), ParseArguments(), XrdSecProtocolpwd::QueryCrypt(), XrdSecProtocolpwd::QueryNetRc(), recurse4dnlists(), RootdGetFile(), ROOT::RpdCheckHostsEquiv(), ROOT::RpdGetRSAKeys(), ROOT::RpdRetrieveSpecialPass(), XrdOssSys::StatXA(), XrdCryptosslX509::XrdCryptosslX509(), XrdFfsPosix_truncateall(), and XrdFfsPosix_x_deleteall().

#define S_IWGRP   000020

Definition at line 147 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), CreateDestPath_loc(), XrdCnsLogClient::do_Create(), doCp_xrd2loc(), XrdOssSpace::Init(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdFrmAdmin::mkFile(), ParseArguments(), XrdSecProtocolpwd::QueryCrypt(), XrdSecProtocolpwd::QueryNetRc(), ROOT::RpdCheckHostsEquiv(), ROOT::RpdRetrieveSpecialPass(), XrdOssSys::Stat(), and XrdCryptosslX509::XrdCryptosslX509().

#define S_IWOTH   000002

Definition at line 150 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), ParseArguments(), XrdSecProtocolpwd::QueryCrypt(), XrdSecProtocolpwd::QueryNetRc(), ROOT::RpdCheckHostsEquiv(), ROOT::RpdRetrieveSpecialPass(), XrdOssSys::Stat(), XrdOssSys::tranmode(), and XrdCryptosslX509::XrdCryptosslX509().

#define S_IWUSR   S_IWRITE

Definition at line 144 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), XrdPosixXrootd::Access(), XrdFrmConfig::ConfigPF(), CreateDestPath_loc(), XrdXrootdProtocol::do_Open(), doCp_xrd2loc(), XrdFrmTransfer::Fetch(), XrdFrmTransfer::ffMake(), XrdSecsssKT::fileMode(), XrdMonBufferedOutput::flush(), XrdOfs::fsctl(), XrdFrmFileset::getLock(), globus_l_gfs_posix_recv(), GRSTx509CacheProxy(), GRSTx509MakeProxyRequest(), history_save(), XrdFrmReqFile::Init(), XrdOssSpace::Init(), XrdOfsPoscq::Init(), main(), MakeCleanupScript(), XrdPosixXrootd::mapFlags(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdFrmAdmin::mkFile(), XrdCnsLogFile::Open(), ParseArguments(), XrdFrmReqFile::ReWrite(), XrdOfsPoscq::ReWrite(), ROOT::RpdCheckHostsEquiv(), ROOT::RpdGetRSAKeys(), XrdSecProtocolssl::secClient(), XrdSecProtocolssl::secServer(), XrdOssLock::Serialize(), XrdOssSys::Stat(), XrdOssSys::StatXA(), XrdFrmUtils::Unique(), XrdFrmCID::Update(), XrdCmsState::Update(), XrdCnsSsi::Updt(), XrdW41Gate::Wait41(), XrdCryptosslX509::XrdCryptosslX509(), and XrdOucSxeq::XrdOucSxeq().

#define S_IXGRP   00010

Definition at line 132 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), CreateDestPath_loc(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdSecsssKT::Rewrite(), and XrdNetSocket::socketPath().

#define S_IXOTH   00001

Definition at line 138 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), XrdOfs::ConfigPosc(), XrdOssSys::ConfigStage(), XrdOssSys::Create(), CreateDestPath_loc(), XrdCnsLogClient::Init(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdSfsNativeFile::open(), XrdOssSys::Reloc(), XrdSecsssKT::Rewrite(), XrdOucUtils::subLogfn(), and XrdOssSys::tranmode().

#define S_IXUSR   00100

Definition at line 126 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2fm(), XrdPosixXrootd::Access(), CreateDestPath_loc(), GRSTx509CacheProxy(), GRSTx509MakeProxyRequest(), MakeCleanupScript(), XrdPosixXrootd::mapFlags(), XrdPosixXrootd::mapMode(), XrdPosixXrootd::Mkdir(), XrdNetSocket::socketPath(), and XrdFfsPosix_stat().

#define setpgid ( x,
y   ) 

Definition at line 344 of file XrdWin32.hh.

Referenced by XrdOucStream::Exec().

#define sleep ( s   )     Sleep(s*1000)

Definition at line 333 of file XrdWin32.hh.

Referenced by TFileDrawMap::AnimateTree(), XrdProofdProofServMgr::Attach(), XrdProofConn::CheckErrorStatus(), XrdClientConn::CheckErrorStatus(), XrdProofdAdmin::CleanupSessions(), TRootBrowser::CloseWindow(), XrdClientAdmin::Connect(), XrdProofConn::Connect(), XrdProofPhyConn::Connect(), decHDFlushHeartBeat(), decRTFlushHeartBeat(), flush2disk(), GarbageCollectorThread(), XrdClientConn::HandleServerError(), main(), XrdClient::Open(), XrdProofdProtocol::Ping(), ReaderThread_xrd_xtreme(), TRootBrowser::RemoveTab(), XrdClientSock::SendRaw_sock(), XrdProofConn::SendReq(), and XrdProofdClient::VerifySession().

#define snprintf   _snprintf

Definition at line 206 of file XrdWin32.hh.

Referenced by TLimitDataSource::AddChannel(), TStyleManager::AddMarkerSizeEntry(), TProcessID::AddProcessID(), XrdOucBonjourRecord::AddTXTRecord(), XrdXrootdProtocol::aio_Error(), TLatex::Analyse(), TTreeViewer::AppendTree(), TDatime::AsSQLString(), TUUID::AsString(), TAuthenticate::Authenticate(), XrdSecProtocolkrb4::Authenticate(), XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolunix::Authenticate(), TAuthenticate::AuthExists(), TSpectrum::Background(), TTree::Branch(), TVolume::Browse(), TGuiBldMenuDialog::Build(), TAttTextEditor::BuildFontSizeComboBox(), TPieEditor::BuildFontSizeComboBox(), XrdPssSys::buildHdr(), RooMath::cacheFileName(), TTree::ChangeFile(), TMLPAnalyzer::CheckNetwork(), TBufferXML::CheckVersionBuf(), ClassImp(), RooAbsArg::cleanBranchName(), TPDF::Close(), XrdOssSys::Config_Display(), XrdOfs::Config_Display(), XrdAccConfig::ConfigDB(), XrdSecServer::ConfigFile(), XrdAccConfig::ConfigFile(), XrdCmsManTree::Connect(), THbookFile::Convert1D(), THbookFile::Convert2D(), THbookFile::Convert2root(), convert_1d(), convert_2d(), convert_cwn(), convert_profile(), convert_rwn(), THbookFile::ConvertCWN(), THbookFile::ConvertProfile(), THbookFile::ConvertRWN(), TODBCStatement::ConvertToString(), TTreeCloner::CopyProcessIds(), TQCanvasMenu::CreateArgumentTitle(), TTreeSQL::CreateBranches(), TQCanvasMenu::CreateDialogTitle(), TTableDescriptor::CreateLeafList(), ROOT::CreateNameTypeMap(), XrdSecProtocolsss::Decode(), XrdAccAudit::Deny(), TRootContextMenu::Dialog(), TQCanvasMenu::Dialog(), XrdOssMio::Display(), TGroupButton::DisplayColorTable(), TMarker::DisplayMarkerTypes(), TRootBrowserLite::DisplayTotal(), TPad::Divide(), XrdXrootdProtocol::do_Dirlist(), XrdCmsNode::do_Load(), XrdXrootdAdmin::do_Login(), XrdXrootdProtocol::do_Open(), TH2::DoFitSlices(), XrdClientConn::DoLogin(), TProofProgressMemoryPlot::DoPlot(), TH2::DoProfile(), TH2::DoProjection(), TGSpeedo::DoRedraw(), TVolumeView::Draw(), TVolume::Draw(), TGenerator::Draw(), TPad::DrawClassObject(), DrawCredits(), TMLPAnalyzer::DrawDInput(), TMLPAnalyzer::DrawDInputs(), TCanvas::DrawEventStatus(), TPostScript::DrawPolyMarker(), TGSpeedo::DrawText(), TSystemFile::Edit(), XSReactionDlg::ElementEntryChanged(), XrdSfsNative::Emsg(), XrdOfs::Emsg(), XrdSysError::Emsg(), XrdBwm::Emsg(), TGHtml::EncodeText(), XrdPosixXrootd::endPoint(), XrdSutPFile::Err(), PyROOT::Utility::ErrMsgCallback(), XrdBwmLogger::Event(), TExec::Exec(), TGroupButton::ExecuteAction(), TTreeViewer::ExecuteCommand(), TTVRecord::ExecuteUserCode(), TSystem::ExpandFileName(), TAlienCollection::ExportXML(), XrdFrmTransfer::Fetch(), TAuthenticate::FileExpand(), TSPlot::FillSWeightsHists(), TSPlot::FillXvarHists(), TSPlot::FillYpdfHists(), TSPlot::FillYvarHists(), TMethod::FindDataMember(), FindFonts(), TTreeFormula::FindLeafForExpression(), TH3::FitSlicesZ(), XrdOucUtils::fmtBytes(), RooRealVar::format(), G__G__Clib__0_4(), XrdSecsssKT::genFN(), TGFontPool::GetAttributeInfo(), THistPainter::GetBestFormat(), TGHtml::GetColorByName(), XrdSecProtocolkrb4::getCredentials(), XrdCryptoFactory::GetCryptoFactory(), TStreamerInfo::GetDataMemberOffset(), TAuthenticate::GetDefaultDetails(), GetExePath(), TFormula::GetExpFormula(), TSapDBRow::GetField(), TGHtml::GetFont(), TStreamerElement::GetFullName(), TDsKey::GetKey(), TColorWheel::GetObjectInfo(), TF1::GetObjectInfo(), TF2::GetObjectInfo(), TVolume::GetObjectInfo(), TObject::GetObjectInfo(), TParallelCoordVar::GetObjectInfo(), TVolumeView::GetObjectInfo(), TVolumePosition::GetObjectInfo(), TPaletteAxis::GetObjectInfo(), TASImage::GetObjectInfo(), TProfile::GetObjectInfo(), THistPainter::GetObjectInfo(), TGuiBldMenuDialog::GetParameters(), TGListTree::GetPathnameFromItem(), TGHtml::GetPctWidth(), TRint::GetPrompt(), GetRootLogo(), TOracleRow::GetRowData(), XrdClientConn::GetSessionID(), XrdOssSys::getStats(), TOracleStatement::GetString(), XrdClientInputBuffer::GetSyncObjOrMakeOne(), TPrimary::GetTitle(), GetWindowsVersion(), globus_l_gfs_posix_stat(), XrdAccAudit::Grant(), GRSTasn1GetX509Name(), GRSTx509ChainVomsAdd(), GRSTx509CompactCreds(), GRSTx509MakeDelegationID(), GRSTx509ParseVomsExt(), GRSTx509VerifyVomsSig(), gzprintf(), TTVLVContainer::HandleButton(), TProof::HandleInputMessage(), HistAction::HistAction(), XrdOucReqID::ID(), XrdStats::InfoStats(), TBranch::Init(), XrdSecProtocolkrb5::Init(), TGFileItem::Init(), TPythia6::Initialize(), TAutoInspector::Inspect(), TDumpMembers::Inspect(), TInspectCanvas::InspectObject(), XrdNetDNS::IP2String(), XrdOucReqID::isMine(), ROOT::ItoA(), Krb5Authenticate(), XrdSecPManager::ldPO(), TWinNTSystem::Link(), XrdXrootdPrepare::List(), XrdOssCache::List(), XrdOssSys::List_Path(), TGHtml::ListTokens(), XrdXrootdPrepare::Log(), TClassTree::ls(), main(), TTreePlayer::MakeClass(), TVolumePosition::Mult(), TXMLEngine::NewNS(), TProofLite::NotifyStartUp(), TSessionFrame::OnCommandLine(), TASPaletteEditor::Open(), TPDF::Open(), PyROOT::TConstructorHolder< T, M >::operator()(), operator+(), XrdPssSys::P2URL(), THStack::Paint(), TGaxis::PaintAxis(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), THistPainter::PaintText(), THistPainter::PaintTH2PolyText(), TTreeFormula::ParseWithLeaf(), TVolumeView::PathP(), TBufferXML::PerformPostProcessing(), TBufferXML::PerformPreProcessing(), ROOT::Perror(), XrdCmsConfig::PidFile(), XrdXrootdProtocol::PidFile(), TEventList::Print(), TMatrixTBase< Element >::Print(), TTable::Print(), XrdOucBonjourNode::Print(), TSecContext::Print(), TBranch::Print(), TTreeViewer::PrintEntries(), TViewerX3D::ProcessFrameMessage(), TGLSAViewer::ProcessFrameMessage(), TGClient::ProcessLine(), TFormula::ProcessLinear(), TTreeViewer::ProcessMessage(), XSGui::ProcessMessage(), XrdStats::ProcStats(), TGraph2D::Project(), TProfile2D::ProjectionXY(), TAuthenticate::ProofAuthSetup(), ProofdExec(), TThread::Ps(), XrdSecProtocolpwd::QueryCreds(), XrdSecProtocolpwd::QueryUser(), RooDataSet::read(), ReadContributors(), TFile::ReadProcessID(), TAuthenticate::ReadRootAuthrc(), XrdXrootdProtocol::Recycle(), TProofServ::RedirectOutput(), TSPlot::RefillHist(), XrdOssSys::Rename(), RooKeysPdf::RooKeysPdf(), ROOT::RpdKrb5Auth(), ROOT::RpdNoAuth(), ROOT::RpdSshAuth(), XrdXrootdProtocol::rpEmsg(), RooMCStudy::run(), TRint::Run(), XrdSysTimer::s2hms(), TASPaletteEditor::Save(), TSpline5::SaveAs(), TSpline3::SaveAs(), TQMimeTypes::SaveMimes(), TGPopupMenu::SavePrimitive(), TClassTree::ScanClasses(), TGListTree::Search(), TAuthenticate::SecureSend(), XrdCmsCluster::Select(), TGHtmlBrowser::Selected(), TProof::SendDataSetStatus(), XrdXrootdAdmin::sendErr(), XrdXrootdAioReq::sendError(), TApplicationRemote::SendFile(), TProof::SendFile(), TProof::SendGroupView(), XrdXrootdAdmin::sendOK(), TAuthenticate::SendRSAPublicKey(), TBranchObject::SetAddress(), TClonesArray::SetClass(), TSVG::SetColor(), TUnixSystem::SetDisplay(), XSReactionDlg::SetElement(), TAuthenticate::SetEnvironment(), TTree::SetEventList(), TChain::SetEventList(), TPostScript::SetFillPatterns(), TPDF::SetFillPatterns(), TLinearFitter::SetFormula(), XrdLink::setID(), TStyle::SetLineStyleString(), TProof::SetLogLevel(), XrdCmsManTree::setMaxCon(), TGNumberEntryField::SetNumber(), SetRootSys(), TToggle::SetState(), TGaxis::SetTimeOffset(), TAxis::SetTimeOffset(), TProofServLite::Setup(), TApplicationServer::Setup(), TProofServ::Setup(), TToggle::SetValue(), XrdOfsEvsFormat::SNP(), TGSplitFrame::SplitHor(), TGSplitFrame::SplitVer(), TBufferSQL2::SqlWriteBasic(), SrvSetVars(), TAuthenticate::SshAuth(), TUnixSystem::StackTrace(), XrdOfs::Stall(), XrdOssSys::StatFS(), XrdOssSys::StatLS(), XrdScheduler::Stats(), XrdRootdProtocol::Stats(), XrdXrootdStats::Stats(), XrdPoll::Stats(), XrdBuffManager::Stats(), XrdStats::Stats(), XrdCmsCluster::Stats(), XrdProofdProtocol::Stats(), XrdLink::Stats(), XrdOssSys::StatXA(), StrInt(), TGHtml::TableText(), TColor::TColor(), XrdLink::Terminate(), TPostScript::Text(), TPDF::Text(), TGGotoDialog::TGGotoDialog(), THbookFile::THbookFile(), XrdSysLogger::Time(), TLink::TLink(), TNtupleD::TNtupleD(), TToggle::Toggle(), TTreeViewer::TTreeViewer(), TVolumePosition::TVolumePosition(), XSReactionDlg::UpdateGraph(), TVolumeViewIter::UpdateTempMatrix(), XrdXrootdProtocol::vpEmsg(), XrdOfs::WaitTime(), TVirtualPS::WriteInteger(), TFile::WriteProcessID(), TPDF::WriteReal(), TVirtualPS::WriteReal(), RooRealVar::writeToStream(), TBufferXML::XmlWriteBasic(), XrdOucReqID::XrdOucReqID(), and XSTblElement::XSTblElement().

#define SOCKLEN_t   int

Definition at line 202 of file XrdWin32.hh.

#define socklen_t   int

Definition at line 198 of file XrdWin32.hh.

Referenced by TUnixSystem::GetPeerName(), XrdNetDNS::getPort(), TUnixSystem::GetSockName(), TUnixSystem::GetSockOpt(), XrdNetSocket::getWindow(), ROOT::NetOpen(), ROOT::NetSetOptions(), receivePackets(), and ROOT::SshToolGetAuth().

#define ssize_t   SSIZE_T

Definition at line 346 of file XrdWin32.hh.

Referenced by aux_rand(), ClassImp(), XrdOssCopy::Copy(), FT_Stream_Open(), TFTP::GetFile(), XrdPoll::getRequest(), XrdLink::Peek(), XrdPosixXrootd::Pread(), XrdPosixXrootd::Pwrite(), XrdSecProtocolsslProcFile::Read(), XrdPosixXrootd::Read(), XrdOfsHanOss::Read(), XrdPssFile::Read(), XrdOssFile::Read(), XrdOssDF::Read(), TFile::ReadBuffer(), XrdOssFile::ReadRaw(), XrdOfsHanOss::ReadRaw(), XrdOssDF::ReadRaw(), XrdPosixXrootd::Readv(), XrdLink::Recv(), XrdNetLink::Recv(), XrdLink::RecvAll(), XrdFrmAdmin::RelocCP(), XrdFrmAdmin::RelocWR(), RootdGet(), RootdGets(), RootdPut(), RootdPutFile(), ROOT::rpd_rand(), XrdLink::Send(), XrdLink::sendData(), RooRealMPFE::serverLoop(), TProof::UploadPackageOnClient(), XrdOssCopy::Write(), XrdOssDF::Write(), XrdOfsHanOss::Write(), XrdPosixXrootd::Write(), XrdOssFile::Write(), XrdPssFile::Write(), TFile::WriteBuffer(), XrdPosixXrootd::Writev(), XrdFfsWcache_flush(), XrdFfsWcache_pwrite(), XrdOssAioWait(), and XrdPosix_Fread().

#define STDERR_FILENO   2

Definition at line 190 of file XrdWin32.hh.

Referenced by XrdProofdManager::CheckLogFileOwnership(), XrdFrmConfig::ConfigMum(), XrdFrmConfig::Configure(), XrdOucStream::Exec(), XrdRootdProtocol::Match(), TUnixSystem::RedirectOutput(), TUnixSystem::StackTrace(), XrdFrmConfigMum(), and XrdSysLogger::XrdSysLogger().

#define STDIN_FILENO   0

Definition at line 188 of file XrdWin32.hh.

Referenced by XrdOucStream::Exec(), XrdSecsssKT::getKeyTab(), main(), XrdRootdProtocol::Match(), and XrdFrmXfrAgent::Start().

#define STDOUT_FILENO   1

Definition at line 189 of file XrdWin32.hh.

Referenced by doCp_xrd2loc(), XrdOucStream::Exec(), XrdRootdProtocol::Match(), TUnixSystem::RedirectOutput(), XrdMpxOut::Run(), and tty_can_output().

#define strtoll ( a,
b,
c   )     _strtoi64(a, b, c)

Definition at line 335 of file XrdWin32.hh.

Referenced by XrdOuca2x::a2ll(), XrdOuca2x::a2sp(), XrdOuca2x::a2sz(), XrdOuca2x::a2tm(), XrdCnsSsi::FSize(), XrdCnsDaemon::getEvents(), XrdSecsssID::getObj(), XrdCmsNode::getSize(), XrdFrmCID::Init(), XrdSecsssKT::ktDecode0(), XrdSecProtocolsslProcFile::Read(), and XrdCryptosslX509::SerialNumber().

#define usleep ( x   )     Sleep(x / 1000)

Definition at line 340 of file XrdWin32.hh.

Referenced by main().

#define W_OK   2

Definition at line 182 of file XrdWin32.hh.

Referenced by XrdPosixXrootd::Access(), main(), RootdOpen(), XrdXrootdPrepare::setParms(), XrdNetSocket::socketPath(), ROOT::SshToolAllocateSocket(), and XrdSecProtocolsslInit().

#define WEXITSTATUS ( w   )     (((w) >> 8) & 0xff)

Definition at line 114 of file XrdWin32.hh.

Referenced by XrdProofdAdmin::CpFile(), XrdProofdAdmin::ExecCmd(), XrdOucProg::Run(), XrdScheduler::traceExit(), WaitChild(), and TProofServLogHandler::~TProofServLogHandler().

#define WIFEXITED ( w   )     (((w) & 0xff) == 0)

Definition at line 115 of file XrdWin32.hh.

Referenced by XrdOucProg::Run(), XrdScheduler::traceExit(), WaitChild(), and TProofServLogHandler::~TProofServLogHandler().

#define WIFSIGNALED ( w   )     (((w) & 0x7f) > 0 && (((w) & 0x7f) < 0x7f))

Definition at line 117 of file XrdWin32.hh.

Referenced by do_test(), XrdOucProg::Run(), XrdScheduler::traceExit(), and WaitChild().

#define WTERMSIG ( w   )     ((w) & 0x7f)

Definition at line 116 of file XrdWin32.hh.

Referenced by XrdOucProg::Run(), XrdScheduler::traceExit(), and WaitChild().

#define X_OK   1

Definition at line 181 of file XrdWin32.hh.

Referenced by XrdPosixXrootd::Access(), XrdFrmConfig::ConfigCmd(), XrdCmsConfig::isExec(), main(), XrdCmsMeter::Monitor(), XrdXrootdPrepare::setParms(), XrdOucProg::Setup(), and XrdgetProtocol().


Typedef Documentation

typedef char* caddr_t

Definition at line 210 of file XrdWin32.hh.

typedef unsigned int mode_t

Definition at line 218 of file XrdWin32.hh.

typedef int pid_t

Definition at line 214 of file XrdWin32.hh.

typedef unsigned short uint16_t

Definition at line 222 of file XrdWin32.hh.


Function Documentation

int close ( int  fd  ) 

Definition at line 84 of file XrdPosixPreload.cc.

References Init(), XrdPosixLinkage::Init(), is_socket(), myerrcode(), XrdPosix_Close(), and Xunix.

char* cuserid ( char *  s  ) 

Definition at line 478 of file XrdWin32.cc.

References getlogin(), name, and strcpy().

Referenced by XrdClientSock::Socks4Handshake().

BOOL dlclose ( void *  lib  ) 

Definition at line 136 of file XrdWin32.cc.

Referenced by main(), Reflex::SharedLibrary::Unload(), and XrdSysPlugin::~XrdSysPlugin().

char* dlerror (  ) 

Definition at line 146 of file XrdWin32.cc.

References LPVOID, and NULL.

Referenced by XrdCmsSecurity::Configure(), Reflex::SharedLibrary::Error(), XrdCryptoFactory::GetCryptoFactory(), XrdSysPlugin::getPlugin(), XrdSecPManager::ldPO(), XrdProofdClientMgr::LoadSecurity(), main(), XrdXrootdloadFileSystem(), and XrdXrootdloadSecurity().

void* dlopen ( const char *  libPath,
int  opt 
)

Definition at line 131 of file XrdWin32.cc.

Referenced by XrdCmsSecurity::Configure(), XrdClientConn::DoAuthentication(), XrdCryptoFactory::GetCryptoFactory(), XrdSysPlugin::getPlugin(), Init_libRuby(), XrdSecPManager::ldPO(), Reflex::SharedLibrary::Load(), XrdProofdClientMgr::LoadSecurity(), main(), XrdXrootdloadFileSystem(), and XrdXrootdloadSecurity().

void* dlsym ( void *  libHandle,
const char *  pname 
)

Definition at line 141 of file XrdWin32.cc.

Referenced by XrdCmsSecurity::Configure(), XrdClientConn::DoAuthentication(), XrdCryptoFactory::GetCryptoFactory(), XrdSysPlugin::getPlugin(), XrdSecPManager::ldPO(), XrdProofdClientMgr::LoadSecurity(), main(), Reflex::SharedLibrary::Symbol(), XrdXrootdloadFileSystem(), and XrdXrootdloadSecurity().

int fcntl ( int  fd,
int  cmd,
long  arg 
)

Definition at line 29 of file XrdWin32.cc.

pid_t fork (  ) 

Definition at line 159 of file XrdWin32.cc.

References NULL, retval, and TRUE.

Referenced by ROOT::DaemonStart(), do_test(), XrdOucStream::Exec(), XrdScheduler::Fork(), TProofServ::Fork(), RooRealMPFE::initialize(), main(), ROOT::NetOpen(), and XrdOucUtils::Undercover().

void gethostbyaddr_r ( char *  addr,
size_t  len,
int  type,
struct hostent *  hent,
char *  buff,
size_t  buffsize,
struct hostent **  hp,
int *  rc 
)

Definition at line 69 of file XrdWin32.cc.

References hentry.

Referenced by XrdNetDNS::getHostAddr(), XrdNetDNS::getHostName(), and main().

void gethostbyname_r ( const char *  inetName,
struct hostent *  hent,
char *  buff,
int  buffsize,
struct hostent **  hp,
int *  rc 
)

Definition at line 36 of file XrdWin32.cc.

References hentry.

Referenced by XrdNetDNS::getHostAddr().

int getservbyname_r ( const char *  servname,
const char *  servtype,
struct servent *  sent,
char *  buff,
size_t  buffsize,
struct servent **  sp 
)

Definition at line 102 of file XrdWin32.cc.

References NULL.

Referenced by XrdNetDNS::getPort().

int gettimeofday ( struct timeval *  tp,
struct timezone tzp 
)

Definition at line 114 of file XrdWin32.cc.

References RooFitShortHand::L(), and long.

Referenced by aux_rand(), blur_asimage_gauss(), XrdMonCtrArchiver::check4InactiveSenders(), ClassImp(), XrdSysTimer::Delta_Time(), doCp_loc2xrd(), doCp_xrd2loc(), doCp_xrd2xrd(), generateTimestamp(), XrdSecsssKT::genKey(), TGLStopwatch::GetClock(), TUUID::GetRandomInfo(), TUUID::GetSystemTime(), main(), XrdMonSndDummyXrootd::newXrdMonSndStageEntry(), pcregrep(), picture_ximage2asimage(), PopupLogo(), print_summary(), XrdSysTimer::Report(), XrdSysTimer::Reset(), RootdGetFile(), RootdPutFile(), ROOT::rpd_rand(), XrdSecProtocolssl::secServer(), TTimeStamp::Set(), StayUp(), Think(), TUnixSystem::UnixNow(), XrdSysCondVar::WaitMS(), XrdMonDecUserInfo::writeRT2Buffer(), and XrdMonSndCoder::XrdMonSndCoder().

char* index ( const char *  str,
int  c 
)

Definition at line 464 of file XrdWin32.cc.

const char* inet_ntop ( int  af,
const void *  src,
char *  dst,
size_t  size 
)

Definition at line 365 of file XrdWin32.cc.

References EAFNOSUPPORT, inet_ntop_v4(), and NULL.

Referenced by XrdNetSecurity::Authorize(), XrdNetDNS::getAddrName(), XrdNetDNS::getHostID(), XrdNetDNS::getHostName(), and XrdClientUrlInfo::SetAddrFromHost().

int lrint ( double  n  )  [inline]

Definition at line 302 of file XrdWin32.hh.

Referenced by rs101_limitexample(), rs_numberCountingCombination_expected(), rs_numberCountingCombination_observed(), and rs_numberCountingCombination_observedWithTau().

int poll ( struct pollfd fds,
unsigned int  nfds,
int  timeout 
) [inline]

Definition at line 230 of file XrdWin32.hh.

References free(), i, malloc(), NULL, POLLERR, POLLIN, POLLNVAL, POLLOUT, POLLPRI, pollfd::revents, select(), and size_t.

Referenced by XrdNetSocket::Accept(), XrdNet::Accept(), XrdNetConnect::Connect(), XrdPoll::getRequest(), XrdNetLink::OK2Recv(), XrdNetLink::OK2Send(), XrdNetMsg::OK2Send(), XrdLink::Peek(), XrdProofdPipe::Poll(), XrdSecTLayer::Read(), XrdLink::Recv(), XrdLink::RecvAll(), XrdClientSock::RecvRaw(), XrdClientSock::SendRaw_sock(), XrdROOTMgr::Validate(), and XrdOucStream::Wait4Data().

int posix_memalign ( void **  memptr,
size_t  alignment,
size_t  size 
)

Definition at line 486 of file XrdWin32.cc.

References malloc(), and NULL.

Referenced by XrdClientMessage::CreateData(), and XrdCmsRRData::getBuff().

int sysconf ( int  what  ) 

Definition at line 10 of file XrdWin32.cc.

References info.

Referenced by ClassImp(), XrdClientMessage::CreateData(), XrdCmsRRData::getBuff(), mvalloc(), XrdBuffManager::XrdBuffManager(), and XrdNetBufferQ::XrdNetBufferQ().

int writev ( int  sock,
const struct iovec  iov[],
int  nvecs 
)

Definition at line 428 of file XrdWin32.cc.

References alloca(), buffer, DWORD, iovec::iov_len, is_socket(), NULL, and size_t.


Generated on Tue Jul 5 16:08:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1