xref: /OK3568_Linux_fs/kernel/drivers/s390/char/sclp_ftp.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  *    SCLP Event Type (ET) 7 - Diagnostic Test FTP Services, useable on LPAR
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  *    Notice that all functions exported here are not reentrant.
6*4882a593Smuzhiyun  *    So usage should be exclusive, ensured by the caller (e.g. using a
7*4882a593Smuzhiyun  *    mutex).
8*4882a593Smuzhiyun  *
9*4882a593Smuzhiyun  *    Copyright IBM Corp. 2013
10*4882a593Smuzhiyun  *    Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
11*4882a593Smuzhiyun  */
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #ifndef __SCLP_FTP_H__
14*4882a593Smuzhiyun #define __SCLP_FTP_H__
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #include "hmcdrv_ftp.h"
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun int sclp_ftp_startup(void);
19*4882a593Smuzhiyun void sclp_ftp_shutdown(void);
20*4882a593Smuzhiyun ssize_t sclp_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif	 /* __SCLP_FTP_H__ */
23