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 12 #ifndef __DIAG_FTP_H__ 13 #define __DIAG_FTP_H__ 14 15 #include "hmcdrv_ftp.h" 16 17 int diag_ftp_startup(void); 18 void diag_ftp_shutdown(void); 19 ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize); 20 21 #endif /* __DIAG_FTP_H__ */ 22