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)  

rcCollRepl.cpp
Go to the documentation of this file.
1 /* This is script-generated code. */
2 /* See collRepl.h for a description of this API call.*/
3 
4 #include "collRepl.h"
5 #include "procApiRequest.h"
6 #include "apiNumber.h"
7 
8 int
9 _rcCollRepl( rcComm_t *conn, collInp_t *collReplInp,
10  collOprStat_t **collOprStat ) {
11  int status;
12 
13  collReplInp->oprType = REPLICATE_OPR;
14 
15  status = procApiRequest( conn, COLL_REPL_AN, collReplInp, NULL,
16  ( void ** ) collOprStat, NULL );
17 
18  return status;
19 }
20 
49 int
50 rcCollRepl( rcComm_t *conn, collInp_t *collReplInp, int vFlag ) {
51  int status, retval;
52  collOprStat_t *collOprStat = NULL;
53 
54  retval = _rcCollRepl( conn, collReplInp, &collOprStat );
55 
56  status = cliGetCollOprStat( conn, collOprStat, vFlag, retval );
57 
58  return status;
59 }
60 
rcComm_t
Definition: rcConnect.h:95
NULL
#define NULL
Definition: rodsDef.h:70
CollInp
Definition: dataObjInpOut.h:157
collOprStat_t
Definition: objInfo.h:298
procApiRequest.h
irods.pypyodbc.status
status
Definition: pypyodbc.py:467
apiNumber.h
_rcCollRepl
int _rcCollRepl(rcComm_t *conn, collInp_t *collReplInp, collOprStat_t **collOprStat)
Definition: rcCollRepl.cpp:9
REPLICATE_OPR
#define REPLICATE_OPR
Definition: dataObjInpOut.h:172
procApiRequest
int procApiRequest(rcComm_t *conn, int apiNumber, void *inputStruct, bytesBuf_t *inputBsBBuf, void **outStruct, bytesBuf_t *outBsBBuf)
Definition: procApiRequest.cpp:55
COLL_REPL_AN
#define COLL_REPL_AN
Definition: apiNumber.h:104
cliGetCollOprStat
int cliGetCollOprStat(rcComm_t *conn, collOprStat_t *collOprStat, int vFlag, int retval)
Definition: procApiRequest.cpp:413
collRepl.h
rcCollRepl
int rcCollRepl(rcComm_t *conn, collInp_t *collReplInp, int vFlag)
Definition: rcCollRepl.cpp:50
CollInp::oprType
int oprType
Definition: dataObjInpOut.h:160