| 1 |
/*************************************************************************** |
/*************************************************************************** |
| 2 |
bbsd.c - description |
common.h - description |
| 3 |
------------------- |
------------------- |
| 4 |
begin : Mon Oct 18 2004 |
begin : Mon Oct 18 2004 |
| 5 |
copyright : (C) 2004 by Leaflet |
copyright : (C) 2004 by Leaflet |
| 21 |
#include <sys/param.h> |
#include <sys/param.h> |
| 22 |
#include <sys/types.h> |
#include <sys/types.h> |
| 23 |
#include <sys/stat.h> |
#include <sys/stat.h> |
| 24 |
|
#include <sys/socket.h> |
| 25 |
|
#include <netinet/in.h> |
| 26 |
|
#include <netdb.h> |
| 27 |
|
#include <mysql/mysql.h> |
| 28 |
|
|
| 29 |
|
//Network |
| 30 |
|
extern char app_home_dir[256]; |
| 31 |
|
extern int socket_server; |
| 32 |
|
extern int socket_client; |
| 33 |
|
extern char hostaddr_server[50]; |
| 34 |
|
extern char hostaddr_client[50]; |
| 35 |
|
extern int port_server; |
| 36 |
|
extern int port_client; |