diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:30 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:30 -0500 |
commit | 8c1612d32c5682a86216adb8c8d11ce715fe5475 (patch) | |
tree | 2a51954d577955c8ad19e517e4c7b6b8972982e4 /parport.h | |
parent | 0864b0a8e6f0b0983c3536931cfbad1414137d6b (diff) |
Import Upstream version 0.3.6
Diffstat (limited to 'parport.h')
-rw-r--r-- | parport.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/parport.h b/parport.h new file mode 100644 index 00000000..1461a909 --- /dev/null +++ b/parport.h @@ -0,0 +1,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 |