aboutsummaryrefslogtreecommitdiff
path: root/parport.h
blob: 1461a90990053b03cbfdba8af87f4554a4a439c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __PARPORT_H__
#define __PARPORT_H__

#include "hardinfo.h"

#define PARPORT_PROC_BASE "/proc/sys/dev/parport/"

typedef struct _ParportDevice	ParportDevice;

struct _ParportDevice {
	gchar *name;

	gchar *cmdset;
	gchar *model;
	gchar *manufacturer;
	gchar *description;
	gchar *pclass;

	gint number, port;
	gboolean dma;
	
	gchar *modes;

	ParportDevice *next;
};

ParportDevice *hi_scan_parport(void);
void hi_show_parport_info(MainWindow *mainwindow, ParportDevice *device);

#endif