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)  

bulkDataObjPut.h
Go to the documentation of this file.
1 
3 /* bulkDataObjPut.h - This dataObj may be generated by a program or script
4  */
5 
6 #ifndef BULK_DATA_OBJ_PUT_H__
7 #define BULK_DATA_OBJ_PUT_H__
8 
9 /* This is a Object File I/O API call */
10 
11 #include "rodsGenQuery.h"
12 #include "rodsDef.h"
13 #include "rcConnect.h"
14 
15 #define TMP_PHY_BUN_DIR "tmpPhyBunDir"
16 
17 typedef struct {
18  char objPath[MAX_NAME_LEN];
19  genQueryOut_t attriArray; /* arrays of attrib - chksum */
20  keyValPair_t condInput; /* include chksum flag and value */
21 } bulkOprInp_t;
22 
23 typedef struct RenamedPhyFiles {
24  int count;
29 
30 #define BulkOprInp_PI "str objPath[MAX_NAME_LEN]; struct GenQueryOut_PI; struct KeyValPair_PI;"
31 
32 
33 /* prototype for the client call */
34 /* rcBulkDataObjPut - Bulk Put (upload) a number of local files to iRODS.
35  * bulkOprInpBBuf contains the bundled local files in tar format.
36  * Input -
37  * rcComm_t *conn - The client connection handle.
38  * bulkOprInp_t *bulkOprInp - generic dataObj input. Relevant items are:
39  * objPath - the collection path under which the files are to be untar.
40  * condInput - conditional Input
41  * FORCE_FLAG_KW - overwrite an existing data object
42  * DATA_TYPE_KW - "value" = the data type of the file.
43  * DEST_RESC_NAME_KW - "value" = The destination Resource.
44  * return value - The status of the operation.
45  */
46 
47 
48 #ifdef __cplusplus
49 extern "C"
50 #endif
51 int rcBulkDataObjPut( rcComm_t *conn, bulkOprInp_t *bulkOprInp, bytesBuf_t *bulkOprInpBBuf );
52 
53 #endif // BULK_DATA_OBJ_PUT_H__
rcComm_t
Definition: rcConnect.h:95
renamedPhyFiles_t
struct RenamedPhyFiles renamedPhyFiles_t
bulkOprInp_t
Definition: bulkDataObjPut.h:17
RenamedPhyFiles::count
int count
Definition: bulkDataObjPut.h:24
rcBulkDataObjPut
int rcBulkDataObjPut(rcComm_t *conn, bulkOprInp_t *bulkOprInp, bytesBuf_t *bulkOprInpBBuf)
Definition: rcBulkDataObjPut.cpp:143
MAX_NUM_BULK_OPR_FILES
#define MAX_NUM_BULK_OPR_FILES
Definition: rodsDef.h:136
rcConnect.h
bulkOprInp_t::condInput
keyValPair_t condInput
Definition: bulkDataObjPut.h:20
RenamedPhyFiles::newFilePath
char newFilePath[50][(1024+64)]
Definition: bulkDataObjPut.h:27
rodsDef.h
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
GenQueryOut
Definition: rodsGenQuery.h:67
RenamedPhyFiles::origFilePath
char origFilePath[50][(1024+64)]
Definition: bulkDataObjPut.h:26
BytesBuf
Definition: rodsDef.h:197
RenamedPhyFiles
Definition: bulkDataObjPut.h:23
rodsGenQuery.h
RenamedPhyFiles::objPath
char objPath[50][(1024+64)]
Definition: bulkDataObjPut.h:25
KeyValPair
Definition: objInfo.h:120
bulkOprInp_t::attriArray
genQueryOut_t attriArray
Definition: bulkDataObjPut.h:19