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)  

rcFilePut.cpp
Go to the documentation of this file.
1 #include "filePut.h"
2 #include "procApiRequest.h"
3 #include "apiNumber.h"
4 
34  rcComm_t *conn,
35  fileOpenInp_t *filePutInp,
36  bytesBuf_t *filePutInpBBuf,
37  filePutOut_t** put_out ) {
38  int status;
39 
40 #if defined(osx_platform) // JMC - backport 4614
41  if ( filePutInp->flags & O_TRUNC ) {
42  filePutInp->flags = filePutInp->flags ^ O_TRUNC;
43  filePutInp->flags = filePutInp->flags | 0x200;
44  }
45 #endif
46 
47 
48  status = procApiRequest( conn, FILE_PUT_AN, filePutInp, filePutInpBBuf,
49  ( void ** ) put_out, NULL );
50 
51  return status;
52 }
rcComm_t
Definition: rcConnect.h:95
NULL
#define NULL
Definition: rodsDef.h:70
filePut.h
rcFilePut
int rcFilePut(rcComm_t *conn, fileOpenInp_t *filePutInp, bytesBuf_t *filePutInpBBuf, filePutOut_t **put_out)
Definition: rcFilePut.cpp:33
fileOpenInp_t::flags
int flags
Definition: fileOpen.h:21
filePutOut_t
Definition: filePut.h:8
procApiRequest.h
irods.pypyodbc.status
status
Definition: pypyodbc.py:467
FILE_PUT_AN
#define FILE_PUT_AN
Definition: apiNumber.h:32
BytesBuf
Definition: rodsDef.h:197
apiNumber.h
procApiRequest
int procApiRequest(rcComm_t *conn, int apiNumber, void *inputStruct, bytesBuf_t *inputBsBBuf, void **outStruct, bytesBuf_t *outBsBBuf)
Definition: procApiRequest.cpp:55
fileOpenInp_t
Definition: fileOpen.h:14