/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* l3FilePutSingleBuf.h - This dataObj may be generated by a program or script */ #ifndef L3_FILE_PUT_SINGLE_BUF_H #define L3_FILE_PUT_SINGLE_BUF_H /* This is a Object File I/O call */ #include "rods.h" #include "rcMisc.h" #include "procApiRequest.h" #include "apiNumber.h" #include "initServer.h" #include "dataObjPut.h" #if defined(RODS_SERVER) #define RS_L3_FILE_PUT_SINGLE_BUF rsL3FilePutSingleBuf /* prototype for the server handler */ int rsL3FilePutSingleBuf (rsComm_t *rsComm, int *l1descInx, bytesBuf_t *dataObjInBBuf); #else #define RS_L3_FILE_PUT_SINGLE_BUF NULL #endif #ifdef __cplusplus extern "C" { #endif /* prototype for the client call */ /* rcL3FilePutSingleBuf - remote call for l3FilePutSingleBuf for cross zone * single buffer get. * Input - * rcComm_t *conn - The client connection handle. * return value - The status of the operation. */ int rcL3FilePutSingleBuf (rcComm_t *conn, int l1descInx, bytesBuf_t *dataObjInBBuf); #ifdef __cplusplus } #endif #endif /* L3_FILE_PUT_SINGLE_BUF_H */