Skip to content

Commit

Permalink
[XrdCl] Update plug-in interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Mar 16, 2020
1 parent 1fe2fb7 commit f84b873
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/XrdCl/XrdClPlugInInterface.hh
Expand Up @@ -27,6 +27,7 @@

#include "XrdCl/XrdClFile.hh"
#include "XrdCl/XrdClFileSystem.hh"
#include "XrdCl/XrdClOptional.hh"

namespace XrdCl
{
Expand Down Expand Up @@ -103,6 +104,32 @@ namespace XrdCl
return XRootDStatus( stError, errNotImplemented );
}

//------------------------------------------------------------------------
//! @see XrdCl::File::Write
//------------------------------------------------------------------------
virtual XRootDStatus Write( uint64_t offset,
Buffer &&buffer,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)offset; (void)buffer; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}

//------------------------------------------------------------------------
//! @see XrdCl::File::Write
//------------------------------------------------------------------------
virtual XRootDStatus Write( uint64_t offset,
uint32_t size,
Optional<uint64_t> fdoff,
int fd,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)offset; (void)size; (void)fdoff; (void)fd, (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}

//------------------------------------------------------------------------
//! @see XrdCl::File::Write
//------------------------------------------------------------------------
Expand Down

0 comments on commit f84b873

Please sign in to comment.