• Home
Name Date Size #Lines LOC

..--

Makefile.amD03-May-20242.5 KiB6235

Makefile.inD03-May-202420.9 KiB617514

READMED03-May-2024716 2618

device-flags.hD03-May-202410.1 KiB24825

gphoto2-endian-intel.hD03-May-20243.8 KiB13893

gphoto2-endian-ppc.hD03-May-20244.5 KiB12077

gphoto2-endian.hD03-May-2024156 85

libmtp.cD03-May-2024286.5 KiB8,3985,413

libmtp.hD03-May-202432.3 KiB942628

libmtp.h.inD03-May-202431.9 KiB931880

libmtp.symD03-May-20241.9 KiB7978

libptp-stdint.hD03-May-202476 31

libusb-glue.cD03-May-202458.9 KiB1,9211,337

libusb-glue.hD03-May-20245 KiB13083

music-players.hD03-May-202446.8 KiB972427

playlist-spl.cD03-May-202424.8 KiB855467

playlist-spl.hD03-May-20241.3 KiB3610

ptp-pack.cD03-May-202457.5 KiB1,8781,562

ptp.cD03-May-2024163.3 KiB4,9753,747

ptp.hD03-May-202494.6 KiB2,5731,785

unicode.cD03-May-20245.4 KiB17483

unicode.hD03-May-20241.5 KiB417

util.cD03-May-20242.9 KiB10851

util.hD03-May-20241 KiB305

README

1RELATION TO LIBPTP2
2-------------------
3
4Parts of libptp2 are copied (and modified) from version 1.1.0:
5
6ptp-pack.c
7ptp-pack.h
8ptp.c
9ptp.h
10
11These are just copies of the same files from libptp2.
12In order to avoid clashes with the libptp2 endianness scripts
13we have named libptp-endian.h and libptp-stdint.h the
14same way as in libptp2, though they are created by libmtp
15autoconfigure scripts.
16
17We will try to track libptp2 and fold changes back into
18libmtp.
19
20TODO: check if the following still holds! (Linus)
21
22I have changed the config script slightly for the le64atoh function
23in libptp-endian.h. This is required for OS X on PowerPC (not sure why).
24I've just cast the bytes to uint64_t to avoid shifting wrongly.
25
26