Make GUI work with new control client API, make control client look for user authtoken.secret if system unreadable.

This commit is contained in:
Adam Ierymenko 2014-04-02 17:12:04 -07:00
parent 81e5690410
commit f0223490be
9 changed files with 184 additions and 231 deletions

View file

@ -58,7 +58,7 @@ public:
*
* Initialization may fail. Call error() to check.
*
* @param hp Home path of ZeroTier One instance
* @param hp Home path of ZeroTier One instance or NULL for default system home path
* @param resultHandler Function to call when commands provide results
* @param arg First argument to result handler
* @param authToken Authentication token or NULL (default) to read from authtoken.secret in home path