xref: /linux/drivers/s390/char/diag_ftp.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
28f933b10SRalf Hoppe /*
38f933b10SRalf Hoppe  *    DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
48f933b10SRalf Hoppe  *
58f933b10SRalf Hoppe  *    Notice that all functions exported here are not reentrant.
68f933b10SRalf Hoppe  *    So usage should be exclusive, ensured by the caller (e.g. using a
78f933b10SRalf Hoppe  *    mutex).
88f933b10SRalf Hoppe  *
98f933b10SRalf Hoppe  *    Copyright IBM Corp. 2013
108f933b10SRalf Hoppe  *    Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
118f933b10SRalf Hoppe  */
128f933b10SRalf Hoppe 
138f933b10SRalf Hoppe #ifndef __DIAG_FTP_H__
148f933b10SRalf Hoppe #define __DIAG_FTP_H__
158f933b10SRalf Hoppe 
168f933b10SRalf Hoppe #include "hmcdrv_ftp.h"
178f933b10SRalf Hoppe 
188f933b10SRalf Hoppe int diag_ftp_startup(void);
198f933b10SRalf Hoppe void diag_ftp_shutdown(void);
208f933b10SRalf Hoppe ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
218f933b10SRalf Hoppe 
228f933b10SRalf Hoppe #endif	 /* __DIAG_FTP_H__ */
23