irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

dataObjLock.h
Go to the documentation of this file.
1 #ifndef DATA_OBJ_LOCK_H__
2 #define DATA_OBJ_LOCK_H__
3 
4 #include "rcConnect.h"
5 #include "objInfo.h"
6 #include "dataObjInpOut.h"
7 
8 // lock type definition
9 #define READ_LOCK_TYPE "readLockType"
10 #define WRITE_LOCK_TYPE "writeLockType"
11 #define UNLOCK_TYPE "unlockType"
12 
13 // lock command definition
14 #define SET_LOCK_CMD "setLockCmd"
15 #define SET_LOCK_WAIT_CMD "setLockWaitCmd"
16 #define GET_LOCK_CMD "getLockCmd"
17 
18 
19 /* prototype for the client call */
20 /* rcDataObjLock - Lock a iRODS data object.
21  * Input -
22  * rcComm_t *conn - The client connection handle.
23  * dataObjInp_t *dataObjInp - generic dataObj input. Relevant items are:
24  * objPath - the path of the data object.
25  * condInput - condition input (optional).
26  * OutPut -
27  * int the file descriptor of the locked object - an integer descriptor.
28  */
29 #ifdef __cplusplus
30 extern "C"
31 #endif
32 int rcDataObjLock( rcComm_t *conn, dataObjInp_t *dataObjInp );
33 #ifdef __cplusplus
34 extern "C"
35 #endif
36 int rcDataObjUnlock( rcComm_t *conn, dataObjInp_t *dataObjInp );
37 
38 
39 #endif
rcComm_t
Definition: rcConnect.h:95
rcDataObjUnlock
int rcDataObjUnlock(rcComm_t *conn, dataObjInp_t *dataObjInp)
Definition: rcDataObjLock.cpp:80
rcConnect.h
dataObjInpOut.h
DataObjInp
Definition: dataObjInpOut.h:65
rcDataObjLock
int rcDataObjLock(rcComm_t *conn, dataObjInp_t *dataObjInp)
Definition: rcDataObjLock.cpp:71
objInfo.h