--- lbbs/include/database.h 2005/05/06 15:48:44 1.3 +++ lbbs/include/database.h 2025/05/02 03:34:58 1.5 @@ -1,9 +1,9 @@ /*************************************************************************** - database.h - description - ------------------- - begin : Mon Oct 18 2004 - copyright : (C) 2004 by Leaflet - email : leaflet@leafok.com + database.h - description + ------------------- + begin : Mon Oct 18 2004 + copyright : (C) 2004 by Leaflet + email : leaflet@leafok.com ***************************************************************************/ /*************************************************************************** @@ -20,6 +20,15 @@ #include -extern MYSQL *db_open (); +#define SQL_BUFFER_LEN 2048 + +// Database +extern char DB_host[256]; +extern char DB_username[50]; +extern char DB_password[50]; +extern char DB_database[50]; +extern char DB_timezone[50]; + +extern MYSQL *db_open(); #endif //_DATABASE_H_