Example #1
0
void NZBGet::AddNewsServer(int id, bool active, const char* name, const char* host,
	int port, const char* user, const char* pass, bool joinGroup, bool tls,
	const char* cipher, int maxConnections, int retention, int level, int group, bool optional)
{
	m_serverPool->AddServer(std::make_unique<NewsServer>(id, active, name, host, port, user, pass, joinGroup,
		tls, cipher, maxConnections, retention, level, group, optional));
}