summaryrefslogtreecommitdiff
path: root/serial.h
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:30 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:30 -0500
commit8c1612d32c5682a86216adb8c8d11ce715fe5475 (patch)
tree2a51954d577955c8ad19e517e4c7b6b8972982e4 /serial.h
parent0864b0a8e6f0b0983c3536931cfbad1414137d6b (diff)
Import Upstream version 0.3.6
Diffstat (limited to 'serial.h')
-rw-r--r--serial.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/serial.h b/serial.h
new file mode 100644
index 00000000..e2d3e5e8
--- /dev/null
+++ b/serial.h
@@ -0,0 +1,19 @@
+#ifndef __SERIAL_H__
+#define __SERIAL_H__
+
+#include "hardinfo.h"
+
+typedef struct _SerialDevice SerialDevice;
+
+struct _SerialDevice {
+ gchar *name;
+ gchar *uart;
+ gint port, irq, baud;
+
+ SerialDevice *next;
+};
+
+SerialDevice *hi_scan_serial(void);
+void hi_show_serial_info(MainWindow *mainwindow, SerialDevice *device);
+
+#endif