--- lbbs/include/common.h 2005/03/19 08:25:23 1.9 +++ lbbs/include/common.h 2005/05/07 09:28:12 1.11 @@ -15,6 +15,9 @@ * * ***************************************************************************/ +#ifndef _COMMON_H_ +#define _COMMON_H_ + //Version extern char app_version[256]; @@ -35,3 +38,12 @@ 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 0x31 +#define SIG_BBS_EXIT 0x32 + +//Signal handler +extern void reload_bbs_menu (int); + +#endif //_COMMON_H_