xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdXrootd
XrdXrootdFileLock.hh
Go to the documentation of this file.
1
#ifndef _XROOTD_FILELOCK_H_
2
#define _XROOTD_FILELOCK_H_
3
/******************************************************************************/
4
/* */
5
/* X r d X r o o t d F i l e L o c k . h h */
6
/* */
7
/* (c) 2004 by the Board of Trustees of the Leland Stanford, Jr., University */
8
/* All Rights Reserved. See XrdInfo.cc for complete License Terms */
9
/* Produced by Andrew Hanushevsky for Stanford University under contract */
10
/* DE-AC03-76-SFO0515 with the Department of Energy */
11
/******************************************************************************/
12
13
// $Id$
14
15
#include "
XrdXrootd/XrdXrootdFile.hh
"
16
17
class
XrdXrootdFileLock
18
{
19
public
:
20
21
virtual
int
Lock
(
XrdXrootdFile
*fp,
int
force=0) = 0;
22
23
virtual
void
numLocks
(
XrdXrootdFile
*fp,
int
&rcnt,
int
&wcnt) = 0;
24
25
virtual
int
Unlock
(
XrdXrootdFile
*fp) = 0;
26
27
XrdXrootdFileLock
() {}
28
virtual
~XrdXrootdFileLock
() {}
29
};
30
#endif
Generated by
1.8.1.2