Add configuration file loading and parsing
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Tue, 5 Apr 2022 03:11:38 +0000 (12:11 +0900)
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>
Tue, 5 Apr 2022 06:31:13 +0000 (15:31 +0900)
commitfa0315bfa87455cfd557072f496b940af6db7190
tree1e7f93bece8e0902cf9e60931b3772385d3dd606
parent7cb58e2d86b4a64409e8f10e105da6a2a6cdf589
Add configuration file loading and parsing

Parse the lease configuration information from a configuration file.
Each lease configuration takes a name and list of connectors to
add to the lease.  As long as one connector is found for a given
configuration, the lease will be created.

Change-Id: Iec4eaf37fba5db17a22e4945de10a06ac94063e4
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
drm-lease-manager/lease-config.c [new file with mode: 0644]
drm-lease-manager/lease-config.h [new file with mode: 0644]
drm-lease-manager/main.c
drm-lease-manager/meson.build
drm-lease-manager/test/lease-config-test.c [new file with mode: 0644]
drm-lease-manager/test/meson.build