Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / s390 / char / diag_ftp.h
blob5d036ba7114f1becedfa8c46314460b7265fd2ab
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
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).
9 * Copyright IBM Corp. 2013
10 * Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
13 #ifndef __DIAG_FTP_H__
14 #define __DIAG_FTP_H__
16 #include "hmcdrv_ftp.h"
18 int diag_ftp_startup(void);
19 void diag_ftp_shutdown(void);
20 ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
22 #endif /* __DIAG_FTP_H__ */