[SETUPLIB][USETUP] Move some code to the SetupLib.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 23 May 2017 11:39:12 +0000 (11:39 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 3 Jun 2018 20:12:35 +0000 (22:12 +0200)
commit92b99b865eca36e35662641f09680bb86ea2c5fe
tree81e73617bb987af2d0f2681e6ef3052e532000c7
parentc7eb46d9fdda30a3b286e244eba023d95f0a4a9b
[SETUPLIB][USETUP] Move some code to the SetupLib.

- filesup.c's functions ConcatPaths(), Does[Path|File]Exist(), NtPathToDiskPartComponents(), OpenAndMapFile(), UnMapFile();
- Move the inicache library to setuplib as it'll be used for the 1st stage GUI setup too (indeed, there is no good INI file API
  under Win32; the Win32 profile "API" is just good enough to manipulate the win16 ini files, and are here anyways for backward
  compatibility purposes only);
- Move the OS detector too.
- Remove the duplicated ConcatPaths() code in arcname.c.

svn path=/branches/setup_improvements/; revision=74634
svn path=/branches/setup_improvements/; revision=74638
14 files changed:
base/setup/lib/CMakeLists.txt
base/setup/lib/arcname.c
base/setup/lib/filesup.c [new file with mode: 0644]
base/setup/lib/filesup.h [new file with mode: 0644]
base/setup/lib/inicache.c [moved from base/setup/usetup/inicache.c with 95% similarity]
base/setup/lib/inicache.h [moved from base/setup/usetup/inicache.h with 64% similarity]
base/setup/lib/osdetect.c [moved from base/setup/usetup/osdetect.c with 99% similarity]
base/setup/lib/osdetect.h [moved from base/setup/usetup/osdetect.h with 97% similarity]
base/setup/lib/precomp.h
base/setup/lib/setuplib.h
base/setup/usetup/CMakeLists.txt
base/setup/usetup/filesup.c
base/setup/usetup/filesup.h
base/setup/usetup/usetup.h