summaryrefslogtreecommitdiff
path: root/examples/detect.c
Commit message (Collapse)AuthorAgeFilesLines
* convert examples to use LIBMTP_FreeMemoryMarcus Meissner2023-04-221-7/+7
|
* Add LIBMTP_FILES_AND_FOLDERS_ROOT and fix examplesStanisław Pitucha2017-02-041-1/+1
| | | | | | | | | Examples assumed that parent id 0 will list only the top directory, but actually that's an id for all files (it does happen to correspond to the reported parent id however). The actual id to be used for the top folder is 0xffffffff. Add a new define to make the value more obvious as well.
* examples: detect: fresh up detectLinus Walleij2015-08-221-32/+42
| | | | | | | | Make the detect algorithm use the raw interface properly with Get_Files_And_Folders() and restore the certificate fetch for Creative devices only, we know these work. Signed-off-by: Linus Walleij <triad@df.lth.se>
* Oops.. restore examples to their original debug flags.Catalin Patulea2012-07-301-1/+1
| | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Linus Walleij <triad@df.lth.se>
* Clean up related to debug flags.Catalin Patulea2012-07-201-1/+1
| | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Linus Walleij <triad@df.lth.se>
* A new device and sendtr prototype fixupLinus Walleij2010-01-301-0/+8
|
* You can never get enough whitespaceLinus Walleij2009-11-071-20/+20
|
* Add a new function to API to enable debug modenicklas792009-09-281-0/+15
| | | | | | | | | | | | | | | | | To avoid build and build only to enable (or disable) debug mode, we work now as the lib libusb :) As libusb, you can do : LIBMTP_Set_Debug(flags); or use an environnement variable : export LIBMTP_DEBUG=flags flags value details : * 0x00 [0000 0000] : no debug (default) * 0x01 [0000 0001] : PTP debug * 0x02 [0000 0010] : Playlist debug * 0x04 [0000 0100] : USB debug * 0x08 [0000 1000] : USB data debug
* include fixes for *BSDLinus Walleij2009-01-151-1/+0
|
* Dump another xml fileLinus Walleij2008-12-131-48/+46
|
* Examples subdir code cleanupLinus Walleij2008-08-151-0/+1
|
* Make raw devices used in detect.Linus Walleij2008-05-291-174/+143
|
* Refactor to use raw devices internally (major change!)Linus Walleij2008-05-281-25/+39
|
* Fix up error messages.Linus Walleij2008-05-281-7/+9
|
* Added a raw device detection interface.Linus Walleij2008-04-231-1/+33
|
* * examples/*.c: Print library version number on execution of examplestedbullock2007-03-291-19/+1
| | | | * src/libmtp.h.in: New version number string to aid version echoing
* Some tweaks preparing for 0.1.4Linus Walleij2007-03-041-1/+1
|
* Pretty up the output a bittedbullock2007-03-041-2/+0
|
* trim debugging output and clarify actionstedbullock2007-03-031-3/+3
|
* New API function to retrieve the number of devices in a list of connected ↵tedbullock2007-03-031-2/+3
| | | | devices
* Fixed some formatting problemstedbullock2007-02-261-6/+4
|
* Echo errors more clearlytedbullock2007-02-261-11/+22
|
* Replaced LIBMTP_ERROR_N0_DEVICE_ATTACHED with ↵tedbullock2007-02-231-1/+1
| | | | LIBMTP_ERROR_NO_DEVICE_ATTACHED (zero with Oh)
* Remove single device libusb-glue code since it has been replaced with the ↵tedbullock2007-02-231-10/+12
| | | | multiple device code now
* Fixed erroneous calls to device, when should have been using itertedbullock2007-02-221-21/+22
|
* Added some status updates when trying to read device certificate and ↵tedbullock2007-02-191-32/+54
| | | | formatted code to improve readability
* New API for multiple devices is availabletedbullock2007-02-141-6/+35
|
* A horde of LGPL boilerplates.Linus Walleij2007-02-051-0/+21
|
* General error stack and error handling.Linus Walleij2007-01-221-0/+13
|
* One more round of fixesLinus Walleij2006-12-131-4/+0
|
* Daniel's revamp of the storage API.Linus Walleij2006-12-121-26/+0
|
* Added callbacksRichard Low2006-11-131-1/+1
|
* VCARD3 support in sendfile, correct attribute WLLinus Walleij2006-09-191-1/+1
|
* Some fixes.Linus Walleij2006-09-121-1/+2
|
* More interface changesLinus Walleij2006-08-191-1/+1
|
* More interfaceLinus Walleij2006-08-191-7/+15
|
* Bug fixLinus Walleij2006-06-211-1/+1
|
* New stuffLinus Walleij2006-06-211-0/+12
|
* Several new track props and other fixes.Linus Walleij2006-06-191-3/+4
|
* Latest thingsLinus Walleij2006-06-131-0/+16
|
* Some detection of MTP devices.Linus Walleij2006-05-081-0/+19
|
* More niceing up...Linus Walleij2006-05-051-20/+41
|
* Minor fixups.Linus Walleij2006-04-261-11/+14
|
* File API started.Linus Walleij2006-03-241-0/+53
|
* More work.Linus Walleij2006-02-271-4/+47
|
* Bang in some stuff.Linus Walleij2006-02-131-1/+12
|
* Initial revisionLinus Walleij2006-02-031-0/+17