Files @ d11fdaf3e279
Branch filter:

Location: libtransport.git/include/Swiften/Server/UserRegistry.h

Sebastian Krzyszkowiak
systemd: wait for network-online.target and add WantedBy=multi-user.target

Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
/*
 * Copyright (c) 2010 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#pragma once

#include <string>
#include <Swiften/Base/SafeByteArray.h>
#include "Swiften/Server/ServerFromClientSession.h"

namespace Swift {
	class JID;

	class UserRegistry {
		public:
			virtual ~UserRegistry();

			virtual void isValidUserPassword(const JID& user, ServerFromClientSession *session, const SafeByteArray& password) = 0;

			virtual void stopLogin(const JID &/*user*/, ServerFromClientSession *) {};
	};
}