uuid: Add module for UUID generation 98/21898/2
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 16 Jul 2019 13:27:29 +0000 (15:27 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Thu, 18 Jul 2019 13:38:02 +0000 (15:38 +0200)
commit6fe59e27c0640462f92133106b4d4d52d77683f9
tree2eed6d6ebbb74eada87740539ca5d04029c26fea
parent0342cd1f15478365bad504d9398d56a03b89781a
uuid: Add module for UUID generation

This commit allow modules of afb-daemon to request UUID.

This introduce an abstraction above libuuid for 3 reasons:

 1. Using uuid had bad side effect inthe past because it
    required enought entropy at start time, leading to hanging
    initialisations in wait for enough entropy.

 2. Solving bug SPEC-2625 will require use of UUID.

 3. Porting to systems that haven't libuuid is made more
    easy after that.

Bug-AGL: SPEC-2625

Change-Id: I27d8b611946686dea6fab250697afe9b89aac869
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/CMakeLists.txt
src/afb-session.c
src/uuid.c [new file with mode: 0644]
src/uuid.h [new file with mode: 0644]