view network.h @ 961:8618658d3ef8

Removing annoying 'Reading config file ...' message when you run without verbose mode (-v)
author lgb
date Sun, 03 Jun 2001 01:46:28 +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