diff options
author | 2018-07-12 18:18:43 +0200 | |
---|---|---|
committer | 2018-12-13 14:12:02 +0100 | |
commit | 8e336b0822974695493a45445ec16908bd0c19c8 (patch) | |
tree | 829a0012c7e8bc030aaafa2cbd38a4bac2483579 /qafbwebsocketclient.md | |
parent | 988eaf6000edbec0e86e2ee79b17cc758c1ae4a9 (diff) |
Retrieve directory list from environment variables
This adds a function able to retrieve from a prefix and suffix
an environment variable. This is meant to search config or plugin
files from potentially several sources, environment and source code.
This tries to get 2 environments variables:
- prefix+binderName+suffix (eg: AFT_LOWCAN_CONFIG_PATH)
- prefix+suffix (eg: AFT_CONFIG_PATH)
Then it returns the one found or both if they exist with the
most accurate one (with the binder name) first followed by the
other.
Change-Id: Ic448ff017e6158bec05895d63688b8968b5c6434
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'qafbwebsocketclient.md')
0 files changed, 0 insertions, 0 deletions