summaryrefslogtreecommitdiffstats
path: root/network.h
blob: c09358c2a01061969c70b153c9a912e7274f5320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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