18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Notice that all functions exported here are not reentrant. 68c2ecf20Sopenharmony_ci * So usage should be exclusive, ensured by the caller (e.g. using a 78c2ecf20Sopenharmony_ci * mutex). 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * Copyright IBM Corp. 2013 108c2ecf20Sopenharmony_ci * Author(s): Ralf Hoppe (rhoppe@de.ibm.com) 118c2ecf20Sopenharmony_ci */ 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#ifndef __DIAG_FTP_H__ 148c2ecf20Sopenharmony_ci#define __DIAG_FTP_H__ 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#include "hmcdrv_ftp.h" 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciint diag_ftp_startup(void); 198c2ecf20Sopenharmony_civoid diag_ftp_shutdown(void); 208c2ecf20Sopenharmony_cissize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif /* __DIAG_FTP_H__ */ 23