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)  

rcRegReplica.cpp
Go to the documentation of this file.
1 #include "regReplica.h"
2 #include "procApiRequest.h"
3 #include "apiNumber.h"
4 
22 int
23 rcRegReplica( rcComm_t *conn, regReplica_t *regReplicaInp ) {
24  int status;
25  dataObjInfo_t *srcNext, *destNext;
26 
27  /* don't send next */
28  srcNext = regReplicaInp->srcDataObjInfo->next;
29  destNext = regReplicaInp->destDataObjInfo->next;
30  regReplicaInp->srcDataObjInfo->next = NULL;
31  regReplicaInp->destDataObjInfo->next = NULL;
32  status = procApiRequest( conn, REG_REPLICA_AN, regReplicaInp, NULL,
33  ( void ** ) NULL, NULL );
34  regReplicaInp->srcDataObjInfo->next = srcNext;
35  regReplicaInp->destDataObjInfo->next = destNext;
36 
37  return status;
38 }
rcComm_t
Definition: rcConnect.h:95
NULL
#define NULL
Definition: rodsDef.h:70
rcRegReplica
int rcRegReplica(rcComm_t *conn, regReplica_t *regReplicaInp)
Definition: rcRegReplica.cpp:23
REG_REPLICA_AN
#define REG_REPLICA_AN
Definition: apiNumber.h:53
DataObjInfo::next
struct DataObjInfo * next
Definition: objInfo.h:163
regReplica_t::destDataObjInfo
dataObjInfo_t * destDataObjInfo
Definition: regReplica.h:9
procApiRequest.h
irods.pypyodbc.status
status
Definition: pypyodbc.py:467
regReplica.h
regReplica_t::srcDataObjInfo
dataObjInfo_t * srcDataObjInfo
Definition: regReplica.h:8
apiNumber.h
procApiRequest
int procApiRequest(rcComm_t *conn, int apiNumber, void *inputStruct, bytesBuf_t *inputBsBBuf, void **outStruct, bytesBuf_t *outBsBBuf)
Definition: procApiRequest.cpp:55
regReplica_t
Definition: regReplica.h:7
DataObjInfo
Definition: objInfo.h:129