view network.h @ 983:cb0e3b29a0dd

Several small changes (like driver selection).
author atmosfear
date Mon, 04 Jun 2001 00:27:55 +0000
parents 7f6641b1b0df
children 92833c9472e8
line wrap: on
line source

/*
 * 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