Add Component Port API 80/250180/5
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 21 Dec 2020 23:59:46 +0000 (08:59 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Wed, 30 Dec 2020 03:18:26 +0000 (03:18 +0000)
commitd295c13f64a607835274eebd64f3a70dc6fb9488
tree10884367d60852a3ad6631283640a7b040006410
parentb715dcdf923566fa0cf31dd679df202142640dba
Add Component Port API

To support component-based port API, the functions are added.
When calling aul_component_port_create(), AMD creates a socket.
AMD passes a file descriptor to the caller component.
And then, the component waits for events using the received file descriptor.

Adds:
 - aul_component_port_exist()
 - aul_component_port_create()
 - aul_component_port_destroy()

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/250187/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/250199/

Change-Id: I3f00461c8487854e0d8c84fa93b50c49f359e80c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
CMakeLists.txt
aul/api/aul_component_port.cc [new file with mode: 0644]
aul/api/aul_component_port.h [new file with mode: 0644]
aul/component/component_port.cc [new file with mode: 0644]
aul/component/component_port.hh [new file with mode: 0644]
include/aul_cmd.h
include/aul_key.h
src/aul_cmd.c