]> sigrok.org Git - libsigrokdecode.git/commit
srd: add support for SIGROKDECODE_PATH environment variable
authorGerhard Sittig <redacted>
Sun, 21 Aug 2022 11:54:58 +0000 (13:54 +0200)
committerGerhard Sittig <redacted>
Sun, 21 Aug 2022 11:54:58 +0000 (13:54 +0200)
commit1105c425345961fa527a7994845bc487b1c7bdf5
tree9b5dea3f685900630a16b45e71bedee352cebfba
parentec5fc441e38e59a57cd508abf420e30fc3c28e0d
srd: add support for SIGROKDECODE_PATH environment variable

The optional SIGROKDECODE_DIR environment variable accepts a single
directory specification. The SIGROKDECODE_PATH variable accepts a list
of directories to search protocol decoders. The list separator is
platform dependent (colon or semicolon). Empty items are explicitly
ignored. Both variables get evaluated. Behaviour remains backwards
compatible, just gets extended for improved usability.
srd.c