libimobiledevice-glue icon indicating copy to clipboard operation
libimobiledevice-glue copied to clipboard

Move common code from `idevicerestore` to the glue library

Open rickmark opened this issue 4 years ago • 1 comments

In preparations for refactoring the idevicerestore program, I've begun to grab any code that is not restore specific but nonetheless needs to be moved to the glue library. To ensure that ABI compatibility is possible all exported symbols will be prefixed LIMD_ to ensure in a 1 namespace model they do not conflict.

The libraries I've decided to extract so far are:

  • JSON (jsmn.c)
  • SHA1
  • SHA2 (as sha512.c)
  • Endianness
  • FixedInt
  • Locking

rickmark avatar Oct 14 '21 15:10 rickmark

If you can, you'd better add MSVC compatible export. @nikias What do you think?

AiXanadu avatar Oct 19 '21 06:10 AiXanadu