Skip to content

Commit

Permalink
Merge pull request #547 from bbockelm/passthrough_cksum
Browse files Browse the repository at this point in the history
Add missing XrdSfsFileSystem virtual overrides.
  • Loading branch information
abh3 committed Jul 24, 2017
2 parents c7d85d2 + 48f6062 commit 951d9f2
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/XrdThrottle/XrdThrottle.hh
Expand Up @@ -120,13 +120,27 @@ public:
virtual XrdSfsFile *
newFile(char *user=0, int monid=0);

virtual int
chksum( csFunc Func,
const char *csName,
const char *path,
XrdOucErrInfo &eInfo,
const XrdSecEntity *client = 0,
const char *opaque = 0);

virtual int
chmod(const char *Name,
XrdSfsMode Mode,
XrdOucErrInfo &out_error,
const XrdSecEntity *client,
const char *opaque = 0);

virtual void
Disc(const XrdSecEntity *client = 0);

virtual void
EnvInfo(XrdOucEnv *envP);

virtual int
exists(const char *fileName,
XrdSfsFileExistence &exists_flag,
Expand Down
23 changes: 23 additions & 0 deletions src/XrdThrottle/XrdThrottleFileSystem.cc
Expand Up @@ -34,6 +34,17 @@ FileSystem::newFile(char *user,
return NULL;
}

int
FileSystem::chksum( csFunc Func,
const char *csName,
const char *path,
XrdOucErrInfo &eInfo,
const XrdSecEntity *client,
const char *opaque)
{
return m_sfs_ptr->chksum(Func, csName, path, eInfo, client, opaque);
}

int
FileSystem::chmod(const char *Name,
XrdSfsMode Mode,
Expand All @@ -44,6 +55,18 @@ FileSystem::chmod(const char *Name,
return m_sfs_ptr->chmod(Name, Mode, out_error, client, opaque);
}

void
FileSystem::Disc(const XrdSecEntity *client)
{
m_sfs_ptr->Disc(client);
}

void
FileSystem::EnvInfo(XrdOucEnv *envP)
{
m_sfs_ptr->EnvInfo(envP);
}

int
FileSystem::exists(const char *fileName,
XrdSfsFileExistence &exists_flag,
Expand Down

0 comments on commit 951d9f2

Please sign in to comment.