--- lbbs/include/database.h 2025/11/05 02:06:50 1.11 +++ lbbs/include/database.h 2026/01/03 10:27:14 1.14 @@ -3,13 +3,14 @@ * database * - configuration and function of DB connection * - * Copyright (C) 2004-2025 Leaflet + * Copyright (C) 2004-2026 Leaflet */ #ifndef _DATABASE_H_ #define _DATABASE_H_ -#include +#include "common.h" +#include enum database_constant_t { @@ -22,6 +23,7 @@ enum database_constant_t }; // Database +extern char DB_ca_cert[FILE_PATH_LEN]; extern char DB_host[DB_host_max_len + 1]; extern char DB_username[DB_username_max_len + 1]; extern char DB_password[DB_password_max_len + 1];