| 1 |
sysadm |
1.1 |
/***************************************************************************
|
| 2 |
|
|
common.c - 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 |
sysadm |
1.2 |
//Version information
|
| 19 |
|
|
char app_version[256] = "LBBS-devel version 1.0";
|
| 20 |
|
|
|
| 21 |
sysadm |
1.1 |
//Global declaration for enviroment
|
| 22 |
|
|
char app_home_dir[256];
|
| 23 |
|
|
|
| 24 |
|
|
//Global declaration for sockets
|
| 25 |
|
|
int socket_server;
|
| 26 |
|
|
int socket_client;
|
| 27 |
|
|
char hostaddr_server[50];
|
| 28 |
|
|
char hostaddr_client[50];
|
| 29 |
|
|
int port_server;
|
| 30 |
|
|
int port_client;
|
| 31 |
|
|
|
| 32 |
|
|
//Global declaration for database
|
| 33 |
|
|
char DB_host[256];
|
| 34 |
|
|
char DB_username[50];
|
| 35 |
|
|
char DB_password[50];
|
| 36 |
sysadm |
1.2 |
char DB_database[50];
|