]> git.meshlink.io Git - meshlink/commitdiff
Add an error callback.
authorGuus Sliepen <guus@meshlink.io>
Mon, 7 Oct 2019 19:00:01 +0000 (21:00 +0200)
committerGuus Sliepen <guus@meshlink.io>
Mon, 7 Oct 2019 19:00:01 +0000 (21:00 +0200)
Normally, API functions report potential errors. However, it might happen
that the background thread runs into a serious error that prevents
MeshLink from operating as expected. Add a callback that is called in those
cases.

Currently, the only time it is called is when it can not create or modify
config files in the background thread.


No differences found