/[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.7 by sysadm, Tue Oct 19 17:11:39 2004 UTC Revision 1.11 by sysadm, Sat May 7 09:28:12 2005 UTC
# Line 15  Line 15 
15   *                                                                         *   *                                                                         *
16   ***************************************************************************/   ***************************************************************************/
17    
18  #include <stdio.h>  #ifndef _COMMON_H_
19  #include <time.h>  #define _COMMON_H_
20  #include <ctype.h>  
21  #include <unistd.h>  //Version
22  #include <signal.h>  extern char app_version[256];
 #include <sys/param.h>  
 #include <sys/types.h>  
 #include <sys/stat.h>  
 #include <sys/socket.h>  
 #include <netinet/in.h>  
 #include <netdb.h>  
 #include <mysql/mysql.h>  
23    
24  //Enviroment  //Enviroment
25  extern char app_home_dir[256];  extern char app_home_dir[256];
26    extern char app_temp_dir[256];
27    
28  //Network  //Network
29  extern int socket_server;  extern int socket_server;
# Line 43  extern int port_client; Line 37  extern int port_client;
37  extern char DB_host[256];  extern char DB_host[256];
38  extern char DB_username[50];  extern char DB_username[50];
39  extern char DB_password[50];  extern char DB_password[50];
40    extern char DB_database[50];
41    
42    //Signal
43    #define SIG_RELOAD_MENU 0x31
44    #define SIG_BBS_EXIT            0x32
45    
46    //Signal handler
47    extern void reload_bbs_menu (int);
48    
49    #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