Files
org-hyperion-cules/devtype.h
Greg Smith 5a62321ddd 19 Apr 2003 Shared devices - Greg Smith
git-svn-id: file:///home/jj/hercules.svn/trunk@1335 956126f8-22a0-4046-8f4a-272fa8102e63
2003-04-19 07:41:59 +00:00

44 lines
1.7 KiB
C

/* DEVTYPE.H (c) Copyright Jan Jaeger, 1999-2003 */
/* Hercules Device Definitions */
#if !defined(_DEVICES_H)
#define _DEVICES_H
typedef struct _DEVHND {
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 */
DEVRF *read; /* Device Read */
DEVWF *write; /* Device Write */
DEVUF *used; /* Device Query used */
DEVRR *reserve; /* Device Reserve */
DEVRR *release; /* Device Release */
} DEVHND;
typedef struct _DEVENT {
char *name;
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;
extern DEVHND comadpt_device_hndinfo;
#endif /*!defined(_DEVICES_H)*/