23 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM4 *5 * Notice that all functions exported here are not reentrant.6 * So usage should be exclusive, ensured by the caller (e.g. using a7 * mutex).8 *9 * Copyright IBM Corp. 201310 * Author(s): Ralf Hoppe (rhoppe@de.ibm.com)11 */12 13#ifndef __DIAG_FTP_H__14#define __DIAG_FTP_H__15 16#include "hmcdrv_ftp.h"17 18int diag_ftp_startup(void);19void diag_ftp_shutdown(void);20ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);21 22#endif /* __DIAG_FTP_H__ */23