annotate network.h @ 922:db06ae8967eb

Centralized and cleaned up X11 connecting, fixed remote X11 playing, -display option for mplayer. SHOULD BE TESTED.
author lgb
date Thu, 31 May 2001 22:32:58 +0000
parents 7f6641b1b0df
children 92833c9472e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
903
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
1 /*
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
2 * Network layer for MPlayer
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
3 * by Bertrand BAUDET <bertrand_baudet@yahoo.com>
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
4 * (C) 2001, MPlayer team.
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
5 */
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
6
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
7 #ifndef __NETWORK_H
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
8 #define __NETWORK_H
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
9
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
10 #define STREAMING_TYPE_UNKNOWN -1
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
11 #define STREAMING_TYPE_ASF 0
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
12 #define STREAMING_TYPE_MP3 1
841
c906b7600fc6 Included "netdb.h" file needed.
bertrand
parents:
diff changeset
13
c906b7600fc6 Included "netdb.h" file needed.
bertrand
parents:
diff changeset
14
903
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
15 #include "url.h"
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
16
841
c906b7600fc6 Included "netdb.h" file needed.
bertrand
parents:
diff changeset
17 int connect2Server(char *host, int port);
903
7f6641b1b0df Added autodetection of potential stream type.
bertrand
parents: 841
diff changeset
18 int autodetectProtocol( URL_t *url, int *fd_out );
841
c906b7600fc6 Included "netdb.h" file needed.
bertrand
parents:
diff changeset
19
c906b7600fc6 Included "netdb.h" file needed.
bertrand
parents:
diff changeset
20 #endif