diff network.h @ 903:7f6641b1b0df

Added autodetection of potential stream type.
author bertrand
date Tue, 29 May 2001 17:03:17 +0000
parents c906b7600fc6
children 92833c9472e8
line wrap: on
line diff
--- a/network.h	Tue May 29 16:58:52 2001 +0000
+++ b/network.h	Tue May 29 17:03:17 2001 +0000
@@ -1,7 +1,20 @@
-#ifndef NETWORK_H
-#define NETWORK_H
+/*
+ * 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