monitor: Add request-server and request-handler-thread 14/271614/13
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 7 Mar 2022 07:50:11 +0000 (16:50 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 8 Mar 2022 06:57:28 +0000 (15:57 +0900)
commit0ee88546f91a2cea99daba4152d0dde7827b0eb6
treecaeef4c52ba6fecba72b069f608bc6fe12c18694
parent431ac4b1d61786ee073a75bb1c211cde792b1c02
monitor: Add request-server and request-handler-thread

To provide libpass API via socket, a manager is required to
manage network connections and requests from clients.

Request-server is a manager to manage network connections.
It accepts and establishes a socket connection from each
client, then spawns a per-client request-handler-thread to
deal with incoming requests from the client if required.

Change-Id: I17cdf1fde69022663c2369b55982ac43e5b5c688
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
CMakeLists.txt
include/util/request-handler.h [new file with mode: 0644]
include/util/request.h [new file with mode: 0644]
src/monitor/request-handler.c [new file with mode: 0644]
src/monitor/request-server.c [new file with mode: 0644]