XRootD
XrdCmsPrepare.cc File Reference
#include <fcntl.h>
#include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "XrdCms/XrdCmsConfig.hh"
#include "XrdCms/XrdCmsPrepare.hh"
#include "XrdCms/XrdCmsTrace.hh"
#include "XrdFrc/XrdFrcProxy.hh"
#include "XrdNet/XrdNetMsg.hh"
#include "XrdOss/XrdOss.hh"
#include "XrdOuc/XrdOucEnv.hh"
#include "XrdOuc/XrdOucMsubs.hh"
#include "XrdOuc/XrdOucTList.hh"
#include "XrdSys/XrdSysError.hh"
+ Include dependency graph for XrdCmsPrepare.cc:

Go to the source code of this file.

Functions

int XrdCmsScrubScan (const char *key, char *cip, void *xargp)
 

Function Documentation

◆ XrdCmsScrubScan()

int XrdCmsScrubScan ( const char *  key,
char *  cip,
void *  xargp 
)

Definition at line 64 of file XrdCmsPrepare.cc.

65 {
66  struct stat buf;
67 
68 // Use oss interface to determine whether the file exists or not
69 //
70  return (Config.ossFS->Stat(key, &buf, XRDOSS_resonly) ? 0 : -1);
71 }
#define XRDOSS_resonly
Definition: XrdOss.hh:486
int stat(const char *path, struct stat *buf)
XrdOss * ossFS
virtual int Stat(const char *path, struct stat *buff, int opts=0, XrdOucEnv *envP=0)=0
XrdCmsConfig Config

References XrdCms::Config, XrdCmsConfig::ossFS, stat(), XrdOss::Stat(), and XRDOSS_resonly.

+ Here is the call graph for this function: