| 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> |
#include <stdio.h> |
| 19 |
#include <ctype.h> |
#include <time.h> |
| 20 |
|
#include <unistd.h> |
| 21 |
|
#include <sys/param.h> |
| 22 |
|
#include <sys/types.h> |
| 23 |
|
#include <sys/stat.h> |
| 24 |
|
#include <sys/socket.h> |
| 25 |
|
#include <netinet/in.h> |
| 26 |
|
#include <netdb.h> |
| 27 |
|
|
| 28 |
|
|
| 29 |
|
extern char app_home_dir[256]; |
| 30 |
|
extern int socket_server; |
| 31 |
|
extern int socket_client; |
| 32 |
|
extern char hostaddr_server[50]; |
| 33 |
|
extern char hostaddr_client[50]; |
| 34 |
|
extern int port_server; |
| 35 |
|
extern int port_client; |