diag_ftp.h 595 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
  4. *
  5. * Notice that all functions exported here are not reentrant.
  6. * So usage should be exclusive, ensured by the caller (e.g. using a
  7. * mutex).
  8. *
  9. * Copyright IBM Corp. 2013
  10. * Author(s): Ralf Hoppe ([email protected])
  11. */
  12. #ifndef __DIAG_FTP_H__
  13. #define __DIAG_FTP_H__
  14. #include "hmcdrv_ftp.h"
  15. int diag_ftp_startup(void);
  16. void diag_ftp_shutdown(void);
  17. ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
  18. #endif /* __DIAG_FTP_H__ */