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)  

dataObjCopy.h
Go to the documentation of this file.
1 #ifndef DATA_OBJ_COPY_H__
2 #define DATA_OBJ_COPY_H__
3 
4 #include "objInfo.h"
5 #include "dataObjInpOut.h"
6 #include "rcConnect.h"
7 
25 typedef struct DataObjCopyInp {
29 #define DataObjCopyInp_PI "struct DataObjInp_PI; struct DataObjInp_PI;"
30 
31 /* prototype for the client call */
32 /* rcDataObjCopy - Copy a iRODS data object.
33  * Input -
34  * rcComm_t *conn - The client connection handle.
35  * dataObjCopyInp_t *dataObjCopyInp - Relevant items are:
36  * dataObjInp_t srcDataObjInp - The source dataObj. Relevant items are:
37  * objPath - the source object path.
38  * destDataObjInp - The destination dataObj. Relevant items are:
39  * objPath - the destination object path.
40  * condInput - DATA_TYPE_KW - "value" = the data type of the object
41  * FORCE_FLAG_KW - overwrite an existing data object
42  * REG_CHKSUM_KW - compute the checksum value
43  * VERIFY_CHKSUM_KW - compute and verify the checksum on
44  * the data.
45  * FILE_PATH_KW - "value" = the physical path of the
46  * destination file.
47  * DEST_RESC_NAME_KW - "value" = The destination Resource.
48  * numThreads - number of threads to use. NO_THREADING = no threading.
49  * openFlags - Open flag for the copy operation. Should be O_WRONLY.
50  * createMode - the file mode (optional).
51  *
52  * OutPut -
53  * int status of the operation - >= 0 ==> success, < 0 ==> failure.
54  */
55 
56 #ifdef __cplusplus
57 extern "C"
58 #endif
59 int rcDataObjCopy( rcComm_t *conn, dataObjCopyInp_t *dataObjCopyInp );
60 int _rcDataObjCopy( rcComm_t *conn, dataObjCopyInp_t *dataObjCopyInp, transferStat_t **transferStat );
61 
62 #endif
rcComm_t
Definition: rcConnect.h:95
DataObjCopyInp::srcDataObjInp
dataObjInp_t srcDataObjInp
Definition: dataObjCopy.h:26
transferStat_t
Definition: objInfo.h:291
DataObjCopyInp
Definition: dataObjCopy.h:25
dataObjCopyInp_t
struct DataObjCopyInp dataObjCopyInp_t
rcConnect.h
dataObjInpOut.h
_rcDataObjCopy
int _rcDataObjCopy(rcComm_t *conn, dataObjCopyInp_t *dataObjCopyInp, transferStat_t **transferStat)
Definition: rcDataObjCopy.cpp:107
DataObjInp
Definition: dataObjInpOut.h:65
rcDataObjCopy
int rcDataObjCopy(rcComm_t *conn, dataObjCopyInp_t *dataObjCopyInp)
Definition: rcDataObjCopy.cpp:85
DataObjCopyInp::destDataObjInp
dataObjInp_t destDataObjInp
Definition: dataObjCopy.h:27
objInfo.h