/[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.4 by sysadm, Mon Oct 18 11:34:15 2004 UTC Revision 1.8 by sysadm, Wed Oct 20 07:46:32 2004 UTC
# Line 17  Line 17 
17    
18  #include <stdio.h>  #include <stdio.h>
19  #include <time.h>  #include <time.h>
20    #include <ctype.h>
21  #include <unistd.h>  #include <unistd.h>
22    #include <signal.h>
23  #include <sys/param.h>  #include <sys/param.h>
24  #include <sys/types.h>  #include <sys/types.h>
25  #include <sys/stat.h>  #include <sys/stat.h>
26  #include <sys/socket.h>  #include <sys/socket.h>
27    #include <netinet/in.h>
28    #include <netdb.h>
29    #include <mysql.h>
30    
31    //Version
32    extern char app_version[256];
33    
34    //Enviroment
35  extern char app_home_dir[256];  extern char app_home_dir[256];
36    
37    //Network
38    extern int socket_server;
39    extern int socket_client;
40    extern char hostaddr_server[50];
41    extern char hostaddr_client[50];
42    extern int port_server;
43    extern int port_client;
44    
45    //Database
46    extern char DB_host[256];
47    extern char DB_username[50];
48    extern char DB_password[50];
49    extern char DB_database[50];


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1