fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
at master 47 lines 1.8 kB view raw
1/***************************************************************************** 2 * pce * 3 *****************************************************************************/ 4 5/***************************************************************************** 6 * File name: src/drivers/char/char-stdio.h * 7 * Created: 2009-03-06 by Hampa Hug <hampa@hampa.ch> * 8 * Copyright: (C) 2009-2020 Hampa Hug <hampa@hampa.ch> * 9 *****************************************************************************/ 10 11/***************************************************************************** 12 * This program is free software. You can redistribute it and / or modify it * 13 * under the terms of the GNU General Public License version 2 as published * 14 * by the Free Software Foundation. * 15 * * 16 * This program is distributed in the hope that it will be useful, but * 17 * WITHOUT ANY WARRANTY, without even the implied warranty of * 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * 19 * Public License for more details. * 20 *****************************************************************************/ 21 22 23#ifndef PCE_DRIVERS_CHAR_STDIO_H 24#define PCE_DRIVERS_CHAR_STDIO_H 1 25 26 27#include <stdio.h> 28 29#include <drivers/char/char.h> 30 31 32typedef struct char_stdio_t { 33 char_drv_t cdrv; 34 35 char flush; 36 char reopen; 37 char append; 38 39 char *read_name; 40 FILE *read_fp; 41 42 char *write_name; 43 FILE *write_fp; 44} char_stdio_t; 45 46 47#endif