};
//-----------------------------------------------------------------------------
SETTINGS::SETTINGS()
+ : port(0),
+ localPort(0),
+ listenWebIP(0),
+ refreshPeriod(0),
+ daemon(false),
+ noWeb(false),
+ reconnect(false),
+ showPid(false)
{
confFile = "/etc/sgauth.conf";
}
printf("sgauth <server> <port> <login> <password>\n"); //TODO change to correct
}
//-----------------------------------------------------------------------------
-void EventsFn(int)
-{
-LOADSTAT ls;
-clnp->GetStat(&ls);
-}
-//-----------------------------------------------------------------------------
void SetDirName(const vector<string> & dn, void *)
{
for (int j = 0; j < DIR_NUM; j++)