--- lbbs/include/common.h 2025/04/28 03:30:59 1.14 +++ lbbs/include/common.h 2025/04/30 09:18:19 1.16 @@ -18,6 +18,8 @@ #ifndef _COMMON_H_ #define _COMMON_H_ +#include + // Version extern char app_version[256]; @@ -38,10 +40,14 @@ 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]; // Signal #define SIG_RELOAD_MENU 0x22 +extern const char *str_space(char *string, int length); +extern const char *get_time_str(char *string, size_t length); + // Signal handler extern void reload_bbs_menu(int); extern void system_exit(int);