Files
        @ 62e6bdab3c02
    
        
              Branch filter: 
        
    Location: libtransport.git/include/Swiften/Server/UserRegistry.h - annotation
        
            
            62e6bdab3c02
            636 B
            text/plain
        
        
    
    call malloc_trim also in PurpleAccount destructor
    | 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 1e8eb7076f17 828ae9d2cb88 808a9067c5f5 808a9067c5f5 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 828ae9d2cb88 | /*
 * 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 <boost/signal.hpp>
namespace Swift {
	class JID;
	class UserRegistry {
		public:
			virtual ~UserRegistry();
			virtual bool isValidUserPassword(const JID& user, const SafeByteArray& password) = 0;
			virtual void stopLogin(const JID &/*user*/) {};
			boost::signal<void (const std::string &user)> onPasswordValid;
			boost::signal<void (const std::string &user)> onPasswordInvalid;
	};
}
 |