Mercurial > mplayer.hg
comparison stream/tcp.h @ 23689:3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
author | diego |
---|---|
date | Mon, 02 Jul 2007 22:34:45 +0000 |
parents | 2a9d669e5ff6 |
children | 4129c8cfa742 |
comparison
equal
deleted
inserted
replaced
23688:3454aed9d083 | 23689:3f0d00abc073 |
---|---|
17 * You should have received a copy of the GNU General Public License | 17 * You should have received a copy of the GNU General Public License |
18 * along with this program; if not, write to the Free Software Foundation, | 18 * along with this program; if not, write to the Free Software Foundation, |
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 | 21 |
22 #ifndef _TCP_H_ | 22 #ifndef TCP_H |
23 #define _TCP_H_ | 23 #define TCP_H |
24 | 24 |
25 /* Connect to a server using a TCP connection */ | 25 /* Connect to a server using a TCP connection */ |
26 int connect2Server (char *host, int port, int verb); | 26 int connect2Server (char *host, int port, int verb); |
27 | 27 |
28 #define TCP_ERROR_TIMEOUT -3 /* connection timeout */ | 28 #define TCP_ERROR_TIMEOUT -3 /* connection timeout */ |
29 #define TCP_ERROR_FATAL -2 /* unable to resolve name */ | 29 #define TCP_ERROR_FATAL -2 /* unable to resolve name */ |
30 #define TCP_ERROR_PORT -1 /* unable to connect to a particular port */ | 30 #define TCP_ERROR_PORT -1 /* unable to connect to a particular port */ |
31 | 31 |
32 #endif /* _TCP_H_ */ | 32 #endif /* TCP_H */ |