/[LeafOK_CVS]/lbbs/include/common.h
ViewVC logotype

Diff of /lbbs/include/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.41 by sysadm, Thu Jun 5 08:36:02 2025 UTC Revision 1.52 by sysadm, Wed Jul 23 01:16:28 2025 UTC
# Line 25  Line 25 
25  #define FILE_PATH_LEN 4096  #define FILE_PATH_LEN 4096
26    
27  // Version  // Version
28  #define APP_NAME_VER "LBBS-devel version 1.0"  #define APP_INFO (PACKAGE_STRING " build on " __DATE__ " " __TIME__)
29    
30  // Enviroment  // Enviroment
31  #define CONF_BBSD "conf/bbsd.conf"  #define CONF_BBSD "conf/bbsd.conf"
# Line 45  Line 45 
45  #define DATA_ACTIVE_BOARD "data/active_board.txt"  #define DATA_ACTIVE_BOARD "data/active_board.txt"
46  #define DATA_READ_HELP "data/read_help.txt"  #define DATA_READ_HELP "data/read_help.txt"
47    
 #define VAR_MAX_USER_ONLINE "var/max_user_online.dat"  
48  #define VAR_BBS_TOP "var/bbs_top.txt"  #define VAR_BBS_TOP "var/bbs_top.txt"
49    
50  #define VAR_ARTICLE_BLOCK_SHM "var/article_block_shm.~"  #define VAR_ARTICLE_BLOCK_SHM "var/article_block_shm.~"
# Line 53  Line 52 
52  #define VAR_TRIE_DICT_SHM "var/trie_dict_shm.~"  #define VAR_TRIE_DICT_SHM "var/trie_dict_shm.~"
53    
54  #define VAR_ARTICLE_CACHE_DIR "var/articles/"  #define VAR_ARTICLE_CACHE_DIR "var/articles/"
55    #define VAR_GEN_EX_MENU_DIR "var/gen_ex/"
56    
57  // File loader  // File loader
58  extern const char *data_files_load_startup[];  extern const char *data_files_load_startup[];
# Line 82  extern ssh_bind sshbind; Line 82  extern ssh_bind sshbind;
82  extern ssh_session SSH_session;  extern ssh_session SSH_session;
83  extern ssh_channel SSH_channel;  extern ssh_channel SSH_channel;
84    
 extern const char *get_time_str(char *string, size_t length);  
   
85  // Signal handler  // Signal handler
86  extern void sig_hup_handler(int);  extern void sig_hup_handler(int);
87  extern void sig_term_handler(int);  extern void sig_term_handler(int);
# Line 94  extern volatile int SYS_server_exit; Line 92  extern volatile int SYS_server_exit;
92  extern volatile int SYS_child_process_count;  extern volatile int SYS_child_process_count;
93  extern volatile int SYS_child_exit;  extern volatile int SYS_child_exit;
94  extern volatile int SYS_conf_reload;  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);  
95    
96  #endif //_COMMON_H_  #endif //_COMMON_H_


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1