xrootd
Defines | Functions | Variables
XrdWin32.cc File Reference
#include "XrdSys/XrdWin32.hh"
#include <Windows.h>
#include <errno.h>
#include <malloc.h>
Include dependency graph for XrdWin32.cc:

Defines

#define INET_ADDRSTRLEN   16
#define EAFNOSUPPORT   WSAEAFNOSUPPORT
#define IN6ADDRSZ   16
#define INT16SZ   2
#define IS_SOCKET(fd)   ((fd)>=64)

Functions

int sysconf (int what)
int fcntl (int, int, long)
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 ()
LARGE_INTEGER LargeIntegerSubtract (LARGE_INTEGER a, LARGE_INTEGER b)
static const char * inet_ntop_v4 (const void *src, char *dst, size_t size)
const char * inet_ntop (int af, const void *src, char *dst, size_t size)
static void myerrcode (int err)
static bool is_socket (SOCKET fd)
int close (int fd)
int writev (int fd, const struct iovec iov[], int nvecs)
char * index (const char *str, int c)
char * getlogin ()
int posix_memalign (void **memptr, size_t alignment, size_t size)

Variables

static const unsigned __int64 epoch = 116444736000000000L

Define Documentation

#define EAFNOSUPPORT   WSAEAFNOSUPPORT

Referenced by inet_ntop().

#define IN6ADDRSZ   16
#define INET_ADDRSTRLEN   16
#define INT16SZ   2
#define IS_SOCKET (   fd)    ((fd)>=64)

Function Documentation

int close ( int  fd)
BOOL dlclose ( void *  lib)
char* dlerror ( )
void* dlopen ( const char *  libPath,
int  opt 
)
void* dlsym ( void *  libHandle,
const char *  pname 
)
int fcntl ( int  ,
int  ,
long   
)
pid_t fork ( )
void gethostbyaddr_r ( char *  addr,
size_t  len,
int  type,
struct hostent *  hent,
char *  buff,
size_t  buffsize,
struct hostent **  hp,
int *  rc 
)
void gethostbyname_r ( const char *  inetName,
struct hostent *  hent,
char *  buff,
int  buffsize,
struct hostent **  hp,
int *  rc 
)

Referenced by XrdSysDNS::getHostAddr().

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

Referenced by XrdSysDNS::getPort().

int gettimeofday ( struct timeval *  tp,
struct timezone tzp 
)
char* index ( const char *  str,
int  c 
)

Referenced by XrdBwmFile::open(), XrdClientVector::BufRealloc(), XrdCmsClientConfig::xmang(), XrdCmsClientMan::XrdCmsClientMan(), XrdCmsConfig::PidFile(), XrdCmsConfig::xmang(), XrdCmsConfig::xrmtrt(), XrdCmsManList::Add(), XrdCmsNode::XrdCmsNode(), XrdCmsNode::do_Select(), XrdCmsPrepare::Add(), XrdCmsPrepare::Inform(), XrdCmsReq::Reply_Redirect(), XrdCnsConfig::Configure(), XrdCnsDaemon::getLFN(), XrdCnsLog::isEP(), XrdCnsLogServer::Massage(), XrdCnsSsi::AddDel(), XrdCnsSsi::AddFile(), XrdConfig::Configure(), XrdConfig::xprot(), XrdConfig::xrep(), XrdFfsMisc_get_current_url(), XrdFfsMisc_get_all_urls_real(), XrdFrcUtils::chkURL(), XrdFrcUtils::MapM2O(), XrdFrmAdmin::ParseKeep(), XrdFrmAdmin::ParseOwner(), XrdFrmAdmin::ParseSpace(), XrdFrmConfig::Configure(), XrdFrmConfig::ConfigCmd(), XrdFrmConfig::ConfigOTO(), XrdFrmConfig::xmon(), XrdFrmTransfer::TrackDC(), XrdFrmXfrAgent::Add(), XrdFrmXfrQueue::Notify(), XrdLink::Terminate(), XrdLinkMatch::Set(), XrdMpxXml::Format(), XrdMpxXml::getVars(), XrdOfs::fsctl(), XrdOfs::xforward(), XrdOfsEvs::Parse(), XrdOfsHandle::PoscSet(), XrdOssSys::Mkpath(), XrdOssCache::Parse(), XrdOssSys::ConfigStageC(), XrdOssPath::Extract(), XrdOssPath::genPath(), XrdOssPath::genPFN(), XrdOssPath::posCname(), XrdOucArgs::getopt(), XrdOucMsubs::Parse(), XrdOucNList::XrdOucNList(), XrdOucReqID::isMine(), XrdOucStream::XrdOucStream(), XrdOucStream::isSet(), XrdOucStream::vSubs(), XrdOucUtils::makePath(), XrdPosixXrootPath::XrdPosixXrootPath(), XrdPssSys::P2URL(), XrdPssSys::T2UID(), XrdPssSys::xorig(), XrdSecProtocolsss::getLID(), XrdSecProtBind::XrdSecProtBind(), main(), getXDate(), XrdSfsNative::Mkpath(), XrdSysDNS::Host2Dest(), XrdSysDNS::isMatch(), XrdXrootdAdmin::do_Red(), XrdXrootdProtocol::xmon(), XrdXrootdProtocol::xred(), XrdXrootdPrepare::List(), XrdXrootdPrepare::Scrub(), and XrdXrootdProtocol::rpCheck().

const char* inet_ntop ( int  af,
const void *  src,
char *  dst,
size_t  size 
)
static const char* inet_ntop_v4 ( const void *  src,
char *  dst,
size_t  size 
) [static]

References INET_ADDRSTRLEN.

Referenced by inet_ntop().

static bool is_socket ( SOCKET  fd) [static]

References FALSE, and TRUE.

Referenced by close(), and writev().

LARGE_INTEGER LargeIntegerSubtract ( LARGE_INTEGER  a,
LARGE_INTEGER  b 
)
static void myerrcode ( int  err) [static]

Referenced by close().

int posix_memalign ( void **  memptr,
size_t  alignment,
size_t  size 
)
int sysconf ( int  what)
int writev ( int  fd,
const struct iovec  iov[],
int  nvecs 
)

References is_socket(), and iovec::iov_len.


Variable Documentation

const unsigned __int64 epoch = 116444736000000000L [static]