removed Qt from unix version of retroshare service. Enabled loging at start with option -u

This commit is contained in:
csoler 2019-08-27 21:54:17 +02:00
parent a84a96e0b7
commit 90d0686e88
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
4 changed files with 196 additions and 57 deletions

View file

@ -52,6 +52,8 @@ extern JsonApiServer* jsonApiServer;
*/
struct JsonApiServer : RsSingleJobThread, p3Config
{
static const uint16_t DEFAULT_PORT = 9092 ;
/**
* @brief construct a JsonApiServer instance with given parameters
* @param[in] port listening port fpt the JSON API socket
@ -62,7 +64,7 @@ struct JsonApiServer : RsSingleJobThread, p3Config
* false otherwise, this usually requires user interacion to confirm access
*/
JsonApiServer(
uint16_t port = 9092,
uint16_t port = DEFAULT_PORT,
const std::string& bindAddress = "127.0.0.1",
const std::function<bool(const std::string&)> newAccessRequestCallback = [](const std::string&){return false;} );