1 #pragma once 2 /* 3 * devices.h 4 * Copyright (C) 2012 Kovid Goyal <kovid at kovidgoyal.net> 5 * 6 * Distributed under terms of the MIT license. 7 */ 8 #include <stdint.h> 9 #include <stddef.h> 10 11 struct calibre_device_entry_struct { 12 char *vendor; /**< The vendor of this device */ 13 uint16_t vendor_id; /**< Vendor ID for this device */ 14 char *product; /**< The product name of this device */ 15 uint16_t product_id; /**< Product ID for this device */ 16 uint32_t device_flags; /**< Bugs, device specifics etc */ 17 }; 18 19 typedef struct calibre_device_entry_struct calibre_device_entry_t; 20 21 extern const calibre_device_entry_t calibre_mtp_device_table[]; 22 23