1 /* SPDX-License-Identifier: GPL-2.0 */
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
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__ */