libmtp: device-flags.h Source File

libmtp 1.1.23

device-flags.h
Go to the documentation of this file.
1
27
34#define DEVICE_FLAG_NONE 0x00000000
53#define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL 0x00000001
66#define DEVICE_FLAG_UNLOAD_DRIVER 0x00000002
73#define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST 0x00000004
89#define DEVICE_FLAG_NO_ZERO_READS 0x00000008
105#define DEVICE_FLAG_IRIVER_OGG_ALZHEIMER 0x00000010
114#define DEVICE_FLAG_ONLY_7BIT_FILENAMES 0x00000020
122#define DEVICE_FLAG_NO_RELEASE_INTERFACE 0x00000040
135#define DEVICE_FLAG_IGNORE_HEADER_ERRORS 0x00000080
143#define DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST 0x00000100
158#define DEVICE_FLAG_OGG_IS_UNKNOWN 0x00000200
166#define DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS 0x00000400
172#define DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR 0x00000800
180#define DEVICE_FLAG_PLAYLIST_SPL_V1 0x00001000
189#define DEVICE_FLAG_PLAYLIST_SPL_V2 0x00002000
196#define DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED 0x00004000
205#define DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST 0x00008000
210#define DEVICE_FLAG_BROKEN_BATTERY_LEVEL 0x00010000
211
216#define DEVICE_FLAG_DELETE_SENDS_EVENT 0x00020000
217
221#define DEVICE_FLAG_CAPTURE 0x00040000
222
226#define DEVICE_FLAG_CAPTURE_PREVIEW 0x00080000
227
232#define DEVICE_FLAG_NIKON_BROKEN_CAPTURE 0x00100000
233
238#define DEVICE_FLAG_NIKON_1 0x00200000
239
244#define DEVICE_FLAG_NO_CAPTURE_COMPLETE 0x00400000
245
250#define DEVICE_FLAG_OLYMPUS_XML_WRAPPED 0x00800000
255#define DEVICE_FLAG_FLAC_IS_UNKNOWN 0x01000000
260#define DEVICE_FLAG_UNIQUE_FILENAMES 0x02000000
265#define DEVICE_FLAG_SWITCH_MODE_BLACKBERRY 0x04000000
270#define DEVICE_FLAG_LONG_TIMEOUT 0x08000000
276#define DEVICE_FLAG_FORCE_RESET_ON_CLOSE 0x10000000
281#define DEVICE_FLAG_DONT_CLOSE_SESSION 0x20000000
292#define DEVICE_FLAG_PROPLIST_OVERRIDES_OI 0x40000000
301#define DEVICE_FLAG_SAMSUNG_OFFSET_BUG 0x80000000
302
308#define DEVICE_FLAGS_SONY_NWZ_BUGS \
309 (DEVICE_FLAG_UNLOAD_DRIVER | \
310 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
311 DEVICE_FLAG_UNIQUE_FILENAMES | \
312 DEVICE_FLAG_FORCE_RESET_ON_CLOSE)
313
320#define DEVICE_FLAGS_ANDROID_BUGS \
321 (DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
322 DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | \
323 DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
324 DEVICE_FLAG_UNLOAD_DRIVER | \
325 DEVICE_FLAG_LONG_TIMEOUT | \
326 DEVICE_FLAG_FORCE_RESET_ON_CLOSE)
327
341#define DEVICE_FLAGS_ARICENT_BUGS \
342 (DEVICE_FLAG_IGNORE_HEADER_ERRORS | \
343 DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
344 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST)