From 74f76ea788d9af5a37d668de0e53afe13a305aaa Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 4 Aug 2006 19:31:53 +0000 Subject: 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 --- stream/udp.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 stream/udp.h (limited to 'stream/udp.h') 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); -- cgit v1.2.3