--- lbbs/include/common.h 2005/03/19 08:25:23 1.9 +++ lbbs/include/common.h 2005/05/07 12:15:30 1.13 @@ -15,6 +15,9 @@ * * ***************************************************************************/ +#ifndef _COMMON_H_ +#define _COMMON_H_ + //Version extern char app_version[256]; @@ -35,3 +38,17 @@ extern char DB_host[256]; extern char DB_username[50]; extern char DB_password[50]; extern char DB_database[50]; + +//Signal +#define SIG_RELOAD_MENU 0x22 + +//Signal handler +extern void reload_bbs_menu (int); +extern void system_exit (int); +extern void child_exit (int); + +//System +extern int SYS_exit; +extern int SYS_child_process_count; + +#endif //_COMMON_H_