Mercurial > mplayer.hg
comparison network.h @ 903:7f6641b1b0df
Added autodetection of potential stream type.
author | bertrand |
---|---|
date | Tue, 29 May 2001 17:03:17 +0000 |
parents | c906b7600fc6 |
children | 92833c9472e8 |
comparison
equal
deleted
inserted
replaced
902:ede5785faa53 | 903:7f6641b1b0df |
---|---|
1 #ifndef NETWORK_H | 1 /* |
2 #define NETWORK_H | 2 * Network layer for MPlayer |
3 * by Bertrand BAUDET <bertrand_baudet@yahoo.com> | |
4 * (C) 2001, MPlayer team. | |
5 */ | |
6 | |
7 #ifndef __NETWORK_H | |
8 #define __NETWORK_H | |
9 | |
10 #define STREAMING_TYPE_UNKNOWN -1 | |
11 #define STREAMING_TYPE_ASF 0 | |
12 #define STREAMING_TYPE_MP3 1 | |
3 | 13 |
4 | 14 |
15 #include "url.h" | |
16 | |
5 int connect2Server(char *host, int port); | 17 int connect2Server(char *host, int port); |
18 int autodetectProtocol( URL_t *url, int *fd_out ); | |
6 | 19 |
7 #endif | 20 #endif |