/[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.49 by sysadm, Wed Jul 2 04:17:33 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 "LBBS"  #define APP_INFO (PACKAGE_STRING " build on " __DATE__ " " __TIME__)
 #define APP_VER "1.3.0"  
 #define APP_INFO (APP_NAME " version " APP_VER " build on " __DATE__ " " __TIME__)  
29    
30  // Enviroment  // Enviroment
31  #define CONF_BBSD "conf/bbsd.conf"  #define CONF_BBSD "conf/bbsd.conf"
# Line 84  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 97  extern volatile int SYS_child_process_co Line 93  extern volatile int SYS_child_process_co
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;
95    
 // Network  
 extern const char *ip_mask(char *s, int level, char mask);  
   
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