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