text: /*** Copyright (c), The Regents of the University of California            ***
   *** For more information please refer to files in the COPYRIGHT directory ***/
  /* fileTruncate.h - This file may be generated by a program or script
   */
  
  #ifndef FILE_TRUNCATE_HPP
  #define FILE_TRUNCATE_HPP
  
  /* This is a Internal I/O API call */
  
  #include "rods.hpp"
  #include "rcMisc.hpp"
  #include "procApiRequest.hpp"
  #include "apiNumber.hpp"
  #include "initServer.hpp"
  #include "fileOpen.hpp"
  
  #include "fileDriver.hpp"
  
  #if defined(RODS_SERVER)
  #define RS_FILE_TRUNCATE rsFileTruncate
  /* prototype for the server handler */
  int
  rsFileTruncate( rsComm_t *rsComm, fileOpenInp_t *fileTruncateInp );
  int
  _rsFileTruncate( rsComm_t *rsComm, fileOpenInp_t *fileTruncateInp );
  int
  remoteFileTruncate( rsComm_t *rsComm, fileOpenInp_t *fileTruncateInp,
                      rodsServerHost_t *rodsServerHost );
  #else
  #define RS_FILE_TRUNCATE NULL
  #endif
  
  /* prototype for the client call */
  int
  rcFileTruncate( rcComm_t *conn, fileOpenInp_t *fileTruncateInp );
  
  #endif	/* FILE_TRUNCATE_H */
  