|
@@ -57,11 +57,10 @@ using namespace asiolink;
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
-static bool verbose_mode = false;
|
|
|
+bool verbose_mode = false;
|
|
|
|
|
|
// Default port current 5300 for testing purposes
|
|
|
-static const string PROGRAM = "Auth";
|
|
|
-static const char* DNSPORT = "5300";
|
|
|
+const char* DNSPORT = "5300";
|
|
|
|
|
|
// Note: this value must be greater than 0.
|
|
|
// TODO: make it configurable via command channel.
|
|
@@ -70,9 +69,9 @@ const uint32_t STATISTICS_SEND_INTERVAL_SEC = 60;
|
|
|
/* need global var for config/command handlers.
|
|
|
* todo: turn this around, and put handlers in the authserver
|
|
|
* class itself? */
|
|
|
-static AuthSrv *auth_server;
|
|
|
+AuthSrv *auth_server;
|
|
|
|
|
|
-static IOService io_service;
|
|
|
+IOService io_service;
|
|
|
|
|
|
ConstElementPtr
|
|
|
my_config_handler(ConstElementPtr new_config) {
|