From 03eeca994daf1cbc78065de75ab182a5f3d17832 Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Tue, 7 Aug 2012 16:57:55 +0200 Subject: Added new files device.c and device.h --- src/device.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/device.h (limited to 'src/device.h') diff --git a/src/device.h b/src/device.h new file mode 100644 index 0000000..ec43855 --- /dev/null +++ b/src/device.h @@ -0,0 +1,18 @@ + +#ifndef DEVICE_H +#define DEVICE_H + +enum device { + DEVICE_UNKNOWN = 0, + DEVICE_ANY, /* Unspecified / Any device */ + DEVICE_SU_18, /* Nokia 770 */ + DEVICE_RX_34, /* Nokia N800 */ + DEVICE_RX_44, /* Nokia N810 */ + DEVICE_RX_48, /* Nokia N810 WiMax */ + DEVICE_RX_51, /* Nokia N900 */ +}; + +enum device device_from_string(const char * device); +const char * device_to_string(enum device device); + +#endif -- cgit v1.2.3