diag_ftp.h 556 B

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