summaryrefslogtreecommitdiffstats
path: root/stream/udp.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-04 19:31:53 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-04 19:31:53 +0000
commit74f76ea788d9af5a37d668de0e53afe13a305aaa (patch)
tree5bd711c9cec8323ced1b7e850ce057c5d19667df /stream/udp.h
parentae8b32f6c1c52770eb60392daa13eda36210c80f (diff)
downloadmpv-74f76ea788d9af5a37d668de0e53afe13a305aaa.tar.bz2
mpv-74f76ea788d9af5a37d668de0e53afe13a305aaa.tar.xz
removed udp socket creation code from rtp stack to a new dedicated udp helper file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19324 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/udp.h')
-rw-r--r--stream/udp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/stream/udp.h b/stream/udp.h
new file mode 100644
index 0000000000..5bac18bbca
--- /dev/null
+++ b/stream/udp.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2006 Benjamin Zores
+ * Network helpers for UDP connections (originally borrowed from rtp.c).
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+int udp_open_socket (URL_t *url);