2001-05-29 17:03:17 +00:00
|
|
|
/*
|
|
|
|
* Network layer for MPlayer
|
|
|
|
* by Bertrand BAUDET <bertrand_baudet@yahoo.com>
|
|
|
|
* (C) 2001, MPlayer team.
|
|
|
|
*/
|
2001-05-20 12:58:41 +00:00
|
|
|
|
2001-05-29 17:03:17 +00:00
|
|
|
#ifndef __NETWORK_H
|
|
|
|
#define __NETWORK_H
|
|
|
|
|
|
|
|
#define STREAMING_TYPE_UNKNOWN -1
|
|
|
|
#define STREAMING_TYPE_ASF 0
|
|
|
|
#define STREAMING_TYPE_MP3 1
|
|
|
|
|
|
|
|
|
|
|
|
#include "url.h"
|
2001-05-20 12:58:41 +00:00
|
|
|
|
|
|
|
int connect2Server(char *host, int port);
|
2001-05-29 17:03:17 +00:00
|
|
|
int autodetectProtocol( URL_t *url, int *fd_out );
|
2001-05-20 12:58:41 +00:00
|
|
|
|
|
|
|
#endif
|