gstreamer/libs/gst/net/gstnetutils.h
Robert Rosengren 3b5933eadd netutils: make gst_net_utils_set_socket_dscp external
Internal gst_net_utils_set_socket_dscp renamed and turned into external
function. Similar functionality exists in e.g. multidupsink, which could
instead use this one.
2019-04-22 09:01:14 +00:00

37 lines
1.2 KiB
C

/* GStreamer
* Copyright (C) 2017 Sebastian Dröge <sebastian@centricular.com>
* Copyright (C) 2017 Robert Rosengren <robertr@axis.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_NET_UTILS_H__
#define __GST_NET_UTILS_H__
#include <glib.h>
#include <gio/gio.h>
#include <gst/net/net-prelude.h>
G_BEGIN_DECLS
GST_NET_API
gboolean gst_net_utils_set_socket_tos (GSocket * socket,
gint qos_dscp);
G_END_DECLS
#endif /* __GST_NET_UTILS_H__ */