summaryrefslogblamecommitdiff
path: root/src/login/loginlog.h
blob: a1ffaae85c2e4f8a40a3173aae3b98e89d1e1b4d (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                          
                                                                       
                                                                                

                          
                                                          


                                 
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef __LOGINLOG_H_INCLUDED__
#define __LOGINLOG_H_INCLUDED__


unsigned long loginlog_failedattempts(uint32 ip, unsigned int minutes);
void login_log(uint32 ip, const char* username, int rcode, const char* message);
bool loginlog_init(void);
bool loginlog_final(void);
bool loginlog_config_read(const char* w1, const char* w2);


#endif // __LOGINLOG_H_INCLUDED__