]> git.zerfleddert.de Git - usb-driver/blame - config.h
support for multiple USB cables by Mondrian Nuessle <nuessle@uni-mannheim.de>
[usb-driver] / config.h
CommitLineData
3e670223 1struct parport_config {
2 int num;
3 unsigned long ppbase;
4 unsigned char real;
5 unsigned short usb_vid;
6 unsigned short usb_pid;
25ba7a49 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);
3e670223 10};
11
25ba7a49 12struct parport_config *config_get(int num);
3e670223 13unsigned char config_is_real_pport(int num);
14unsigned short config_usb_vid(int num);
15unsigned short config_usb_pid(int num);
Impressum, Datenschutz