xref: /openbmc/linux/drivers/s390/char/sclp_ftp.h (revision 9d4fa1a1)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *    SCLP Event Type (ET) 7 - Diagnostic Test FTP Services, useable on LPAR
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 (rhoppe@de.ibm.com)
11  */
12 
13 #ifndef __SCLP_FTP_H__
14 #define __SCLP_FTP_H__
15 
16 #include "hmcdrv_ftp.h"
17 
18 int sclp_ftp_startup(void);
19 void sclp_ftp_shutdown(void);
20 ssize_t sclp_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
21 
22 #endif	 /* __SCLP_FTP_H__ */
23