libmtp: /usr/obj/ports/libmtp-1.1.6/libmtp-1.1.6/src/device-flags.h Source File

libmtp 1.1.6

- Main Page
- Modules
- Data Structures
- Files
- Examples

- File List
- Globals

device-flags.h
Go to the documentation of this file.
1
34 #define DEVICE_FLAG_NONE 0x00000000
35
53 #define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL 0x00000001
54
66 #define DEVICE_FLAG_UNLOAD_DRIVER 0x00000002
67
73 #define DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST 0x00000004
74
89 #define DEVICE_FLAG_NO_ZERO_READS 0x00000008
90
105 #define DEVICE_FLAG_IRIVER_OGG_ALZHEIMER 0x00000010
106
114 #define DEVICE_FLAG_ONLY_7BIT_FILENAMES 0x00000020
115
122 #define DEVICE_FLAG_NO_RELEASE_INTERFACE 0x00000040
123
135 #define DEVICE_FLAG_IGNORE_HEADER_ERRORS 0x00000080
136
143 #define DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST 0x00000100
144
158 #define DEVICE_FLAG_OGG_IS_UNKNOWN 0x00000200
159
166 #define DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS 0x00000400
167
172 #define DEVICE_FLAG_ALWAYS_PROBE_DESCRIPTOR 0x00000800
173
180 #define DEVICE_FLAG_PLAYLIST_SPL_V1 0x00001000
181
189 #define DEVICE_FLAG_PLAYLIST_SPL_V2 0x00002000
190
196 #define DEVICE_FLAG_CANNOT_HANDLE_DATEMODIFIED 0x00004000
197
205 #define DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST 0x00008000
206
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_NO_CAPTURE_COMPLETE 0x00400000
239
244 #define DEVICE_FLAG_MATCH_PTP_INTERFACE 0x00800000
245
249 #define DEVICE_FLAG_FLAC_IS_UNKNOWN 0x01000000
250
254 #define DEVICE_FLAG_UNIQUE_FILENAMES 0x02000000
255
259 #define DEVICE_FLAG_SWITCH_MODE_BLACKBERRY 0x04000000
260
264 #define DEVICE_FLAG_LONG_TIMEOUT 0x08000000
265
270 #define DEVICE_FLAG_FORCE_RESET_ON_CLOSE 0x10000000
271
276 #define DEVICE_FLAG_BROKEN_GET_OBJECT_PROPVAL 0x20000000
277
287 #define DEVICE_FLAG_PROPLIST_OVERRIDES_OI 0x40000000
288
294 #define DEVICE_FLAGS_SONY_NWZ_BUGS \
295 (DEVICE_FLAG_UNLOAD_DRIVER | \
296 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
297 DEVICE_FLAG_UNIQUE_FILENAMES | \
298 DEVICE_FLAG_FORCE_RESET_ON_CLOSE )
299
306 #define DEVICE_FLAGS_ANDROID_BUGS \
307 (DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
308 DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | \
309 DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
310 DEVICE_FLAG_UNLOAD_DRIVER | \
311 DEVICE_FLAG_LONG_TIMEOUT )
312
326 #define DEVICE_FLAGS_ARICENT_BUGS \
327 (DEVICE_FLAG_IGNORE_HEADER_ERRORS | \
328 DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
329 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST )