/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* fileSyncToArch.h - This file may be generated by a program or script */ #ifndef FILE_SYNC_TO_ARCH_H #define FILE_SYNC_TO_ARCH_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 "fileDriver.h" #include "fileStageToCache.h" #if defined(RODS_SERVER) #define RS_FILE_SYNC_TO_ARCH rsFileSyncToArch /* prototype for the server handler */ int rsFileSyncToArch (rsComm_t *rsComm, fileStageSyncInp_t *fileSyncToArchInp, char **outFileName); int rsFileSyncToArchByHost (rsComm_t *rsComm, fileStageSyncInp_t *fileSyncToArchInp, char **outFileName, rodsServerHost_t *rodsServerHost); int _rsFileSyncToArch (rsComm_t *rsComm, fileStageSyncInp_t *fileSyncToArchInp, char **outFileName); int remoteFileSyncToArch (rsComm_t *rsComm, fileStageSyncInp_t *fileSyncToArchInp, char **outFileName, rodsServerHost_t *rodsServerHost); #else #define RS_FILE_SYNC_TO_ARCH NULL #endif /* prototype for the client call */ int rcFileSyncToArch (rcComm_t *conn, fileStageSyncInp_t *fileSyncToArchInp, char **outFileName); #endif /* FILE_SYNC_TO_ARCH_H */