Skip to content

Commit

Permalink
[XrdCl] Add flags to async DirList - currently no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
ljanyst committed Apr 19, 2013
1 parent f2802f8 commit 8b1b3e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 5 additions & 4 deletions src/XrdCl/XrdClFileSystem.cc
Expand Up @@ -782,9 +782,10 @@ namespace XrdCl
//----------------------------------------------------------------------------
// List entries of a directory - async
//----------------------------------------------------------------------------
XRootDStatus FileSystem::DirList( const std::string &path,
ResponseHandler *handler,
uint16_t timeout )
XRootDStatus FileSystem::DirList( const std::string &path,
DirListFlags::Flags flags,
ResponseHandler *handler,
uint16_t timeout )
{
Message *msg;
ClientStatRequest *req;
Expand Down Expand Up @@ -877,7 +878,7 @@ namespace XrdCl
// We just ask the current server
//--------------------------------------------------------------------------
SyncResponseHandler handler;
XRootDStatus st = DirList( path, &handler, timeout );
XRootDStatus st = DirList( path, flags, &handler, timeout );
if( !st.IsOK() )
return st;

Expand Down
8 changes: 5 additions & 3 deletions src/XrdCl/XrdClFileSystem.hh
Expand Up @@ -552,16 +552,18 @@ namespace XrdCl
//! List entries of a directory - async
//!
//! @param path directory path
//! @param flags currently unused
//! @param handler handler to be notified when the response arrives,
//! the response parameter will hold a DirectoryList
//! object if the procedure is successfull
//! @param timeout timeout value, if 0 the environment default will
//! be used
//! @return status of the operation
//------------------------------------------------------------------------
XRootDStatus DirList( const std::string &path,
ResponseHandler *handler,
uint16_t timeout = 0 );
XRootDStatus DirList( const std::string &path,
DirListFlags::Flags flags,
ResponseHandler *handler,
uint16_t timeout = 0 );

//------------------------------------------------------------------------
//! List entries of a directory - sync
Expand Down

0 comments on commit 8b1b3e4

Please sign in to comment.