--- lbbs/include/common.h 2025/06/18 04:19:44 1.43 +++ lbbs/include/common.h 2025/07/23 01:16:28 1.52 @@ -25,9 +25,7 @@ #define FILE_PATH_LEN 4096 // Version -#define APP_NAME "LBBS" -#define APP_VER "1.1.0" -#define APP_INFO (APP_NAME " version " APP_VER " build on " __DATE__ " " __TIME__) +#define APP_INFO (PACKAGE_STRING " build on " __DATE__ " " __TIME__) // Enviroment #define CONF_BBSD "conf/bbsd.conf" @@ -54,6 +52,7 @@ #define VAR_TRIE_DICT_SHM "var/trie_dict_shm.~" #define VAR_ARTICLE_CACHE_DIR "var/articles/" +#define VAR_GEN_EX_MENU_DIR "var/gen_ex/" // File loader extern const char *data_files_load_startup[]; @@ -83,8 +82,6 @@ extern ssh_bind sshbind; extern ssh_session SSH_session; extern ssh_channel SSH_channel; -extern const char *get_time_str(char *string, size_t length); - // Signal handler extern void sig_hup_handler(int); extern void sig_term_handler(int); @@ -95,10 +92,5 @@ extern volatile int SYS_server_exit; extern volatile int SYS_child_process_count; extern volatile int SYS_child_exit; extern volatile int SYS_conf_reload; -extern volatile int SYS_data_file_reload; -extern volatile int SYS_section_list_reload; - -// Network -extern const char *ip_mask(char *s, int level, char mask); #endif //_COMMON_H_