--- lbbs/include/common.h 2004/10/20 07:46:32 1.8 +++ lbbs/include/common.h 2005/05/07 09:28:12 1.11 @@ -15,24 +15,15 @@ * * ***************************************************************************/ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#ifndef _COMMON_H_ +#define _COMMON_H_ //Version extern char app_version[256]; //Enviroment extern char app_home_dir[256]; +extern char app_temp_dir[256]; //Network extern int socket_server; @@ -47,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_