]> git.zerfleddert.de Git - usb-driver/blob - config.h
e3e42ea10b95ff192b2476869ea3ba8194138807
[usb-driver] / config.h
1 struct parport_config {
2 int num;
3 unsigned long ppbase;
4 unsigned char real;
5 unsigned short usb_vid;
6 unsigned short usb_pid;
7 int (*open) (int num);
8 void (*close) (int handle);
9 int (*transfer) (WD_TRANSFER *tr, int fd, unsigned int request, int ppbase, int ecpbase, int num);
10 };
11
12 struct parport_config *config_get(int num);
13 unsigned char config_is_real_pport(int num);
14 unsigned short config_usb_vid(int num);
15 unsigned short config_usb_pid(int num);
Impressum, Datenschutz