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

Contents of /lbbs/include/database.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations)
Tue Nov 4 13:49:50 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.8: +7 -15 lines
Content type: text/x-chdr
Update file header information comments

1 /* SPDX-License-Identifier: GPL-3.0-or-later */
2 /*
3 * database
4 * - configuration and function of DB connection
5 *
6 * Copyright (C) 2004-2025 by Leaflet <leaflet@leafok.com>
7 */
8
9 #ifndef _DATABASE_H_
10 #define _DATABASE_H_
11
12 #include <mysql/mysql.h>
13
14 #define SQL_BUFFER_LEN 10240
15
16 // Database
17 extern char DB_host[256];
18 extern char DB_username[50];
19 extern char DB_password[50];
20 extern char DB_database[50];
21 extern char DB_timezone[50];
22
23 extern MYSQL *db_open();
24
25 #endif //_DATABASE_H_

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