mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
db73e496b0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@904 b3059339-0415-0410-9bf9-f77b7e298cf2
21 lines
372 B
C
21 lines
372 B
C
/*
|
|
* Network layer for MPlayer
|
|
* by Bertrand BAUDET <bertrand_baudet@yahoo.com>
|
|
* (C) 2001, MPlayer team.
|
|
*/
|
|
|
|
#ifndef __NETWORK_H
|
|
#define __NETWORK_H
|
|
|
|
#define STREAMING_TYPE_UNKNOWN -1
|
|
#define STREAMING_TYPE_ASF 0
|
|
#define STREAMING_TYPE_MP3 1
|
|
|
|
|
|
#include "url.h"
|
|
|
|
int connect2Server(char *host, int port);
|
|
int autodetectProtocol( URL_t *url, int *fd_out );
|
|
|
|
#endif
|