/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* fileUnlink.h - This file may be generated by a program or script */ #ifndef FILE_UNLINK_H #define FILE_UNLINK_H /* This is a low level file type API call */ #include "rods.h" #include "rcMisc.h" #include "procApiRequest.h" #include "apiNumber.h" #include "initServer.h" #include "fileDriver.h" typedef struct { fileDriverType_t fileType; rodsHostAddr_t addr; char fileName[MAX_NAME_LEN]; } fileUnlinkInp_t; #define fileUnlinkInp_PI "int fileType; struct RHostAddr_PI; str fileName[MAX_NAME_LEN];" #if defined(RODS_SERVER) #define RS_FILE_UNLINK rsFileUnlink /* prototype for the server handler */ int rsFileUnlink (rsComm_t *rsComm, fileUnlinkInp_t *fileUnlinkInp); int _rsFileUnlink (rsComm_t *rsComm, fileUnlinkInp_t *fileUnlinkInp); int remoteFileUnlink (rsComm_t *rsComm, fileUnlinkInp_t *fileUnlinkInp, rodsServerHost_t *rodsServerHost); #else #define RS_FILE_UNLINK NULL #endif /* prototype for the client call */ int rcFileUnlink (rcComm_t *conn, fileUnlinkInp_t *fileUnlinkInp); #endif /* FILE_UNLINK_H */