summaryrefslogtreecommitdiff
path: root/src/login/loginlog.h
blob: a86ad431cb43ca21f1120b6f75bae344d85459b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef _LOGIN_LOGINLOG_H_
#define _LOGIN_LOGINLOG_H_

#include "../common/cbasetypes.h"

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 /* _LOGIN_LOGINLOG_H_ */