Add new API for avoid accessing env value
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 24 Sep 2013 12:18:50 +0000 (21:18 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 24 Sep 2013 12:18:50 +0000 (21:18 +0900)
commit387db261bbb028b52365c6869f8e2316840cfaad
tree95c95aae4acc6b931d4c988f2cdb752a7055e0c3
parent9cef53d627d3d9d50f631f3bb9ddb0de84d65fde
Add new API for avoid accessing env value

Even if it trying to get some env value,
it could brings crashes if the get/setenv is called from other threads.

So the new API will not use the env value, instead of it, it will get some
configuration data from arguments.

Change-Id: I8e7ac92a51cbb3b6594e816ca74ec42cfcd4e999
include/livebox.h
packaging/liblivebox-viewer.spec
src/livebox.c