summaryrefslogtreecommitdiffstats
path: root/network.h
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-20 12:58:41 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-20 12:58:41 +0000
commitd0970ce743caabb185362728cefcc0ef4b49712d (patch)
treebdffd21336c3f4faccf331e0468c28dc9e0d0e2a /network.h
parentfffaf83e4b3397dcef2f984b365541b9ed7752d7 (diff)
downloadmpv-d0970ce743caabb185362728cefcc0ef4b49712d.tar.bz2
mpv-d0970ce743caabb185362728cefcc0ef4b49712d.tar.xz
Included "netdb.h" file needed.
Changed exit to return -1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@842 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'network.h')
-rw-r--r--network.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/network.h b/network.h
new file mode 100644
index 0000000000..63fadbd00e
--- /dev/null
+++ b/network.h
@@ -0,0 +1,7 @@
+#ifndef NETWORK_H
+#define NETWORK_H
+
+
+int connect2Server(char *host, int port);
+
+#endif