2003-01-05 12:17:12 +00:00
|
|
|
/* DEVTYPE.H (c) Copyright Jan Jaeger, 1999-2003 */
|
2002-04-11 13:32:10 +00:00
|
|
|
/* Hercules Device Definitions */
|
|
|
|
|
|
|
|
|
|
#if !defined(_DEVICES_H)
|
|
|
|
|
|
|
|
|
|
#define _DEVICES_H
|
|
|
|
|
|
|
|
|
|
typedef struct _DEVHND {
|
2002-05-14 05:08:58 +00:00
|
|
|
DEVIF *init; /* Device Initialisation */
|
|
|
|
|
DEVXF *exec; /* Device CCW execute */
|
|
|
|
|
DEVCF *close; /* Device Close */
|
|
|
|
|
DEVQF *query; /* Device Query */
|
|
|
|
|
DEVSF *start; /* Device Start channel pgm */
|
|
|
|
|
DEVSF *end; /* Device End channel pgm */
|
|
|
|
|
DEVSF *resume; /* Device Resume channel pgm */
|
|
|
|
|
DEVSF *suspend; /* Device Suspend channel pgm */
|
2003-04-19 07:41:59 +00:00
|
|
|
DEVRF *read; /* Device Read */
|
|
|
|
|
DEVWF *write; /* Device Write */
|
|
|
|
|
DEVUF *used; /* Device Query used */
|
|
|
|
|
DEVRR *reserve; /* Device Reserve */
|
|
|
|
|
DEVRR *release; /* Device Release */
|
2002-04-11 13:32:10 +00:00
|
|
|
} DEVHND;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct _DEVENT {
|
2002-04-29 08:26:34 +00:00
|
|
|
char *name;
|
2002-04-11 13:32:10 +00:00
|
|
|
U16 type;
|
|
|
|
|
DEVHND *hnd; /* Device handlers */
|
|
|
|
|
} DEVENT;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern DEVHND constty_device_hndinfo;
|
|
|
|
|
extern DEVHND cardrdr_device_hndinfo;
|
|
|
|
|
extern DEVHND cardpch_device_hndinfo;
|
|
|
|
|
extern DEVHND printer_device_hndinfo;
|
|
|
|
|
extern DEVHND tapedev_device_hndinfo;
|
|
|
|
|
extern DEVHND ckddasd_device_hndinfo;
|
|
|
|
|
extern DEVHND fbadasd_device_hndinfo;
|
|
|
|
|
extern DEVHND loc3270_device_hndinfo;
|
|
|
|
|
extern DEVHND ctcadpt_device_hndinfo;
|
2003-03-21 15:26:07 +00:00
|
|
|
extern DEVHND comadpt_device_hndinfo;
|
2002-04-11 13:32:10 +00:00
|
|
|
|
|
|
|
|
#endif /*!defined(_DEVICES_H)*/
|