Parent Directory
|
Revision Log
Refine file header information comments
| 1 | sysadm | 1.9 | /* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 | /* | ||
| 3 | * database | ||
| 4 | * - configuration and function of DB connection | ||
| 5 | * | ||
| 6 | sysadm | 1.10 | * Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 | sysadm | 1.9 | */ |
| 8 | sysadm | 1.1 | |
| 9 | sysadm | 1.3 | #ifndef _DATABASE_H_ |
| 10 | #define _DATABASE_H_ | ||
| 11 | |||
| 12 | sysadm | 1.7 | #include <mysql/mysql.h> |
| 13 | sysadm | 1.1 | |
| 14 | sysadm | 1.8 | #define SQL_BUFFER_LEN 10240 |
| 15 | sysadm | 1.5 | |
| 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 | sysadm | 1.4 | extern MYSQL *db_open(); |
| 24 | sysadm | 1.3 | |
| 25 | #endif //_DATABASE_H_ |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |