^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Notice that all functions exported here are not reentrant.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * So usage should be exclusive, ensured by the caller (e.g. using a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * mutex).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * Copyright IBM Corp. 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #ifndef __DIAG_FTP_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define __DIAG_FTP_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #include "hmcdrv_ftp.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int diag_ftp_startup(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) void diag_ftp_shutdown(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif /* __DIAG_FTP_H__ */