--- lbbs/include/database.h 2025/05/02 03:34:58 1.5 +++ lbbs/include/database.h 2025/11/04 13:49:50 1.9 @@ -1,26 +1,17 @@ -/*************************************************************************** - database.h - description - ------------------- - begin : Mon Oct 18 2004 - copyright : (C) 2004 by Leaflet - email : leaflet@leafok.com - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * database + * - configuration and function of DB connection + * + * Copyright (C) 2004-2025 by Leaflet + */ #ifndef _DATABASE_H_ #define _DATABASE_H_ -#include +#include -#define SQL_BUFFER_LEN 2048 +#define SQL_BUFFER_LEN 10240 // Database extern char DB_host[256];