/[LeafOK_CVS]/lbbs/include/common.h
ViewVC logotype

Annotation of /lbbs/include/common.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations)
Wed Oct 20 07:46:32 2004 UTC (21 years, 5 months ago) by sysadm
Branch: MAIN
Changes since 1.7: +5 -1 lines
Content type: text/x-chdr
*** empty log message ***

1 sysadm 1.3 /***************************************************************************
2 sysadm 1.4 common.h - description
3 sysadm 1.3 -------------------
4     begin : Mon Oct 18 2004
5     copyright : (C) 2004 by Leaflet
6     email : leaflet@leafok.com
7     ***************************************************************************/
8    
9     /***************************************************************************
10     * *
11     * This program is free software; you can redistribute it and/or modify *
12     * it under the terms of the GNU General Public License as published by *
13     * the Free Software Foundation; either version 2 of the License, or *
14     * (at your option) any later version. *
15     * *
16     ***************************************************************************/
17    
18 sysadm 1.1 #include <stdio.h>
19 sysadm 1.3 #include <time.h>
20 sysadm 1.7 #include <ctype.h>
21 sysadm 1.3 #include <unistd.h>
22 sysadm 1.7 #include <signal.h>
23 sysadm 1.3 #include <sys/param.h>
24     #include <sys/types.h>
25     #include <sys/stat.h>
26 sysadm 1.4 #include <sys/socket.h>
27 sysadm 1.5 #include <netinet/in.h>
28     #include <netdb.h>
29 sysadm 1.8 #include <mysql.h>
30    
31     //Version
32     extern char app_version[256];
33 sysadm 1.5
34 sysadm 1.7 //Enviroment
35     extern char app_home_dir[256];
36    
37 sysadm 1.6 //Network
38 sysadm 1.5 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 sysadm 1.7
45     //Database
46     extern char DB_host[256];
47     extern char DB_username[50];
48     extern char DB_password[50];
49 sysadm 1.8 extern char DB_database[50];

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