--- lbbs/include/common.h 2004/10/19 17:11:39 1.7 +++ lbbs/include/common.h 2005/05/07 09:28:12 1.11 @@ -15,21 +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; @@ -43,3 +37,13 @@ extern int port_client; 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_