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

Contents of /lbbs/include/common.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show 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 /***************************************************************************
2 common.h - description
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 #include <stdio.h>
19 #include <time.h>
20 #include <ctype.h>
21 #include <unistd.h>
22 #include <signal.h>
23 #include <sys/param.h>
24 #include <sys/types.h>
25 #include <sys/stat.h>
26 #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];
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];

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