Libraries reorganized to limit the number of exported symbols
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 5 Feb 2015 14:09:19 +0000 (15:09 +0100)
committerMaciej J. Karpiuk <m.karpiuk2@samsung.com>
Tue, 17 Feb 2015 11:12:22 +0000 (12:12 +0100)
commit2523f4d47ff685834b5b6e369379b2952bc7e39e
treebff154a9213e37c2db9e4b28027bf0e929b85a69
parent8ded86b99b7cf6ef6fddc222cfb88a3621a0c291
Libraries reorganized to limit the number of exported symbols

[Issue#] N/A
[Feature/Bug] N/A
[Problem] Too much exported symbols
[Cause] Some of the code don't have to be exported or is used by a single binary.
[Solution] Unnecessary exports removed. Part of libkey-manager-common code
moved to client library or key-manager binary

[Verification] Compile key-manager and security-tests. Display the number of
exported symbols before and after with:
nm -g <library>.so | wc -l

Change-Id: Iccb053af2523368d353693247e505a794e783318
35 files changed:
packaging/key-manager.spec
src/CMakeLists.txt
src/manager/CMakeLists.txt
src/manager/client-async/descriptor-set.cpp [moved from src/manager/common/descriptor-set.cpp with 100% similarity]
src/manager/client-async/descriptor-set.h [moved from src/manager/common/descriptor-set.h with 97% similarity]
src/manager/client/client-manager-impl.cpp
src/manager/common/base64.h
src/manager/common/crypto-init.cpp [moved from src/manager/common/crypto.cpp with 93% similarity]
src/manager/common/crypto-init.h [new file with mode: 0644]
src/manager/common/pkcs12-impl.cpp
src/manager/dpl/core/include/dpl/assert.h
src/manager/dpl/core/include/dpl/binary_queue.h
src/manager/dpl/core/include/dpl/char_traits.h [deleted file]
src/manager/dpl/core/include/dpl/colors.h
src/manager/dpl/core/include/dpl/exception.h
src/manager/dpl/core/include/dpl/fstream_accessors.h
src/manager/dpl/core/include/dpl/noncopyable.h [deleted file]
src/manager/dpl/core/include/dpl/string.h [deleted file]
src/manager/dpl/core/src/noncopyable.cpp [deleted file]
src/manager/dpl/core/src/string.cpp [deleted file]
src/manager/dpl/db/include/dpl/db/sql_connection.h
src/manager/dpl/db/src/sql_connection.cpp
src/manager/dpl/log/include/dpl/log/log.h
src/manager/main/smack-check.cpp [moved from src/manager/common/smack-check.cpp with 100% similarity]
src/manager/main/smack-check.h [moved from src/manager/common/smack-check.h with 96% similarity]
src/manager/service/certificate-config.cpp [moved from src/manager/common/certificate-config.cpp with 100% similarity]
src/manager/service/certificate-config.h [moved from src/manager/common/certificate-config.h with 95% similarity]
src/manager/service/certificate-store.cpp [moved from src/manager/common/certificate-store.cpp with 100% similarity]
src/manager/service/certificate-store.h [moved from src/manager/common/certificate-store.h with 96% similarity]
src/manager/service/crypto.h [moved from src/manager/common/crypto.h with 95% similarity]
src/manager/service/digest.cpp [moved from src/manager/common/digest.cpp with 100% similarity]
src/manager/service/digest.h [moved from src/manager/common/digest.h with 93% similarity]
src/manager/service/file-lock.cpp [moved from src/manager/common/file-lock.cpp with 100% similarity]
src/manager/service/file-lock.h [moved from src/manager/common/file-lock.h with 94% similarity]
tests/CMakeLists.txt