summaryrefslogtreecommitdiffstats
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/device.h b/device.h
new file mode 100644
index 000000000..5a207f256
--- /dev/null
+++ b/device.h
@@ -0,0 +1,19 @@
+#ifndef DEVICE_INFO_H
+#define DEVICE_INFO_H
+
+struct device_info {
+ const char *model;
+ uint32_t deviceid;
+
+ const char *nickname;
+ struct device_info *next;
+ gboolean saved;
+};
+
+extern struct device_info *get_device_info(const char *model, uint32_t deviceid);
+extern struct device_info *get_different_device_info(const char *model, uint32_t deviceid);
+extern struct device_info *create_device_info(const char *model, uint32_t deviceid);
+extern struct device_info *remove_device_info(const char *model, uint32_t deviceid);
+extern void clear_device_saved_status(void);
+
+#endif