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)  

rcDataObjPhymv.cpp
Go to the documentation of this file.
1 
6 
8 /* This is script-generated code. */
9 /* See dataObjPhymv.h for a description of this API call.*/
10 
11 #include "dataObjPhymv.h"
12 #include "procApiRequest.h"
13 #include "apiNumber.h"
14 
67 int
68 rcDataObjPhymv( rcComm_t *conn, dataObjInp_t *dataObjInp ) {
69  int status;
70  transferStat_t *transferStat = NULL;
71 
72  memset( &conn->transStat, 0, sizeof( transferStat_t ) );
73 
74  dataObjInp->oprType = PHYMV_OPR;
75 
76  status = _rcDataObjPhymv( conn, dataObjInp, &transferStat );
77 
78  if ( status >= 0 && transferStat != NULL ) {
79  conn->transStat = *( transferStat );
80  }
81  if ( transferStat != NULL ) {
82  free( transferStat );
83  }
84  return status;
85 }
86 
87 int
89  transferStat_t **transferStat ) {
90  int status;
91 
92  status = procApiRequest( conn, DATA_OBJ_PHYMV_AN, dataObjInp, NULL,
93  ( void ** ) transferStat, NULL );
94  return status;
95 }
rcComm_t
Definition: rcConnect.h:95
NULL
#define NULL
Definition: rodsDef.h:70
_rcDataObjPhymv
int _rcDataObjPhymv(rcComm_t *conn, dataObjInp_t *dataObjInp, transferStat_t **transferStat)
Definition: rcDataObjPhymv.cpp:88
transferStat_t
Definition: objInfo.h:291
PHYMV_OPR
#define PHYMV_OPR
Definition: dataObjInpOut.h:181
procApiRequest.h
DataObjInp
Definition: dataObjInpOut.h:65
irods.pypyodbc.status
status
Definition: pypyodbc.py:467
rcDataObjPhymv
int rcDataObjPhymv(rcComm_t *conn, dataObjInp_t *dataObjInp)
Definition: rcDataObjPhymv.cpp:68
apiNumber.h
procApiRequest
int procApiRequest(rcComm_t *conn, int apiNumber, void *inputStruct, bytesBuf_t *inputBsBBuf, void **outStruct, bytesBuf_t *outBsBBuf)
Definition: procApiRequest.cpp:55
DataObjInp::oprType
int oprType
Definition: dataObjInpOut.h:72
rcComm_t::transStat
transferStat_t transStat
Definition: rcConnect.h:108
DATA_OBJ_PHYMV_AN
#define DATA_OBJ_PHYMV_AN
Definition: apiNumber.h:124
dataObjPhymv.h