linux/drivers/s390/char/diag_ftp.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/*
   3 *    DIAGNOSE X'2C4' instruction based SE/HMC FTP Services, useable on z/VM
   4 *
   5 *    Notice that all functions exported here are not reentrant.
   6 *    So usage should be exclusive, ensured by the caller (e.g. using a
   7 *    mutex).
   8 *
   9 *    Copyright IBM Corp. 2013
  10 *    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