Move all sources to src/ directory 78/234778/9
authorDariusz Michaluk <d.michaluk@samsung.com>
Thu, 28 May 2020 12:20:57 +0000 (14:20 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Mon, 6 Jul 2020 09:59:38 +0000 (11:59 +0200)
Change-Id: I0ffe64f5cc8b3591d1951503f46011173f173ab3

27 files changed:
CMakeLists.txt
README.md
src/dcm-client/CMakeLists.txt [moved from dcm-client/CMakeLists.txt with 100% similarity]
src/dcm-client/dcm_client.h [moved from dcm-client/dcm_client.h with 100% similarity]
src/dcm-client/dcm_client_p.h [moved from dcm-client/dcm_client_p.h with 100% similarity]
src/dcm-client/dcm_support.proto [moved from dcm-client/dcm_support.proto with 100% similarity]
src/dcm-client/dcmclient.cpp [moved from dcm-client/dcmclient.cpp with 100% similarity]
src/dcm-client/device_certificate_manager.cpp [moved from dcm-client/device_certificate_manager.cpp with 100% similarity]
src/dcm-client/device_certificate_manager.h [moved from dcm-client/device_certificate_manager.h with 100% similarity]
src/dcm-client/version_script.lds [moved from dcm-client/version_script.lds with 100% similarity]
src/dcm-daemon/CMakeLists.txt [moved from dcm-daemon/CMakeLists.txt with 100% similarity]
src/dcm-daemon/boost_log_dlog_sink.h [moved from dcm-daemon/boost_log_dlog_sink.h with 100% similarity]
src/dcm-daemon/dcm-backend-api.h [moved from dcm-daemon/dcm-backend-api.h with 100% similarity]
src/dcm-daemon/dcmserver.cpp [moved from dcm-daemon/dcmserver.cpp with 100% similarity]
src/dcm-daemon/dcmserver.h [moved from dcm-daemon/dcmserver.h with 100% similarity]
src/dcm-daemon/dcmsession.cpp [moved from dcm-daemon/dcmsession.cpp with 100% similarity]
src/dcm-daemon/dcmsession.h [moved from dcm-daemon/dcmsession.h with 100% similarity]
src/dcm-daemon/exception_translator.h [moved from dcm-daemon/exception_translator.h with 100% similarity]
src/dcm-daemon/logging.h [moved from dcm-daemon/logging.h with 100% similarity]
src/dcm-daemon/main.cpp [moved from dcm-daemon/main.cpp with 100% similarity]
src/dcm-daemon/serviceadapter.cpp [moved from dcm-daemon/serviceadapter.cpp with 100% similarity]
src/dcm-daemon/serviceadapter.h [moved from dcm-daemon/serviceadapter.h with 100% similarity]
src/dcm-daemon/soresolver.cpp [moved from dcm-daemon/soresolver.cpp with 100% similarity]
src/dcm-daemon/soresolver.h [moved from dcm-daemon/soresolver.h with 100% similarity]
src/shared/protobuf_asio.cpp [moved from shared/protobuf_asio.cpp with 100% similarity]
src/shared/protobuf_asio.h [moved from shared/protobuf_asio.h with 100% similarity]
tests/CMakeLists.txt

index 4c7e341..8c02f4e 100644 (file)
@@ -42,9 +42,9 @@ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
 SET(DCM_UNIX_SOCKET_PATH "/run/device-certificate-manager.socket")
 ADD_DEFINITIONS(-DDCM_UNIX_SOCKET_PATH="${DCM_UNIX_SOCKET_PATH}")
 
-INCLUDE_DIRECTORIES(shared)
-ADD_SUBDIRECTORY(dcm-client)
-ADD_SUBDIRECTORY(dcm-daemon)
+INCLUDE_DIRECTORIES(src/shared)
+ADD_SUBDIRECTORY(src/dcm-client)
+ADD_SUBDIRECTORY(src/dcm-daemon)
 ADD_SUBDIRECTORY(pkgconfig)
 ADD_SUBDIRECTORY(rpm)
 ADD_SUBDIRECTORY(systemd)
index 7990f6e..f684e22 100644 (file)
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Please visit the following webpage for the details about the prerequsities and t
 
 The DCM (tizen.org repository *platform/core/security/device-certificate-manager*) consists of two submodules: the client and the daemon.
 The client provides the public DCM API, while the daemon its implementation.
-The implementation is realized with the internal backend API (see the *dcm-daemon/dcm-backend-api.h* header file).
+The implementation is realized with the internal backend API (see the *src/dcm-daemon/dcm-backend-api.h* header file).
 Example implementations of this backend API may be found in the tizen.org separate repository: *platform/core/security/device-certificate-manager-backend*.
 The DCM backend repository provides two implementations:
 1) dedicated for the KONAI SE device,
@@ -32,7 +32,7 @@ The difference in the cerificates ordering is the reason why the *backend* level
 
 ##Adding a new backend (a new SE device)
 
-In order to support a new SE device in the DCM, a new backend API implementation must be developed, which means that the plugin developer must provide the  implemenation of the plugin header (*dcm-daemon/dcm-backend-api.h*).
+In order to support a new SE device in the DCM, a new backend API implementation must be developed, which means that the plugin developer must provide the  implemenation of the plugin header (*src/dcm-daemon/dcm-backend-api.h*).
 Such an implementation may be based on the KONAI SE implementation from the *platform/core/security/device-certificate-manager-backend* repository.
 The new implementation may be added to this public repository or provided in the separate git repository.
 The most important item is to implement the *libdcm-backend-api.so* library and to install it in the system.
similarity index 100%
rename from dcm-daemon/main.cpp
rename to src/dcm-daemon/main.cpp
index b0425f5..52995a2 100644 (file)
@@ -22,7 +22,7 @@ FIND_PACKAGE(Boost REQUIRED
 
 INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIRS})
 LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
-INCLUDE_DIRECTORIES(../dcm-client)
+INCLUDE_DIRECTORIES(../src/dcm-client)
 
 ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
 ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)