/[LeafOK_CVS]/lbbs/include/login.h
ViewVC logotype

Contents of /lbbs/include/login.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (show annotations)
Sat Jan 3 10:27:14 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +1 -1 lines
Content type: text/x-chdr
Update copyright info

1 /* SPDX-License-Identifier: GPL-3.0-or-later */
2 /*
3 * login
4 * - user authentication and online status manager
5 *
6 * Copyright (C) 2004-2026 Leaflet <leaflet@leafok.com>
7 */
8
9 #ifndef _LOGIN_H_
10 #define _LOGIN_H_
11
12 #include <mysql.h>
13
14 extern const int BBS_login_retry_times;
15
16 extern void login_fail(void);
17
18 extern int bbs_login(void);
19
20 extern int check_user(const char *username, const char *password);
21
22 extern int load_user_info(MYSQL *db, int BBS_uid);
23
24 extern int load_guest_info(void);
25
26 extern int user_online_add(MYSQL *db);
27 extern int user_online_del(MYSQL *db);
28 extern int user_online_exp(MYSQL *db);
29
30 extern int user_online_update(const char *action);
31
32 extern int user_update_agreement(void);
33
34 #endif //_LOGIN_H_

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1