swh:1:snp:c2847dfd741eae21606027cf29250d1ebcd63fb4
Raw File
Tip revision: 46cf053efec6a3a5f343fead837777efe8252a46 authored by Linus Torvalds on 23 December 2019, 01:02:23 UTC
Linux 5.5-rc3
Tip revision: 46cf053
diag_ftp.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *    DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
 *
 *    Notice that all functions exported here are not reentrant.
 *    So usage should be exclusive, ensured by the caller (e.g. using a
 *    mutex).
 *
 *    Copyright IBM Corp. 2013
 *    Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
 */

#ifndef __DIAG_FTP_H__
#define __DIAG_FTP_H__

#include "hmcdrv_ftp.h"

int diag_ftp_startup(void);
void diag_ftp_shutdown(void);
ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);

#endif	 /* __DIAG_FTP_H__ */
back to top