Linux 4.1.16
[linux/fpc-iii.git] / drivers / s390 / char / diag_ftp.h
blob3abd2614053a9dc835c815c2d8c1c09b53caa986
1 /*
2 * DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
4 * Notice that all functions exported here are not reentrant.
5 * So usage should be exclusive, ensured by the caller (e.g. using a
6 * mutex).
8 * Copyright IBM Corp. 2013
9 * Author(s): Ralf Hoppe (rhoppe@de.ibm.com)
12 #ifndef __DIAG_FTP_H__
13 #define __DIAG_FTP_H__
15 #include "hmcdrv_ftp.h"
17 int diag_ftp_startup(void);
18 void diag_ftp_shutdown(void);
19 ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
21 #endif /* __DIAG_FTP_H__ */