xine-lib: xine-lib-1.2.12/include/xine/broadcaster.h Source File

xine-lib 1.2.12

broadcaster.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2000-2017 the xine project
3 *
4 * This file is part of xine, a free video player.
5 *
6 * xine is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * xine is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 *
20 * broadcaster.h
21 */
22
23#ifndef HAVE_BROADCASTER_H
24#define HAVE_BROADCASTER_H
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#include <xine/attributes.h>
31
32 typedef struct broadcaster_s broadcaster_t;
33
34 broadcaster_t *_x_init_broadcaster(xine_stream_t *stream, int port) XINE_MALLOC XINE_PROTECTED;
35void _x_close_broadcaster(broadcaster_t *this_gen) XINE_PROTECTED;
36int _x_get_broadcaster_port(broadcaster_t *this_gen) XINE_PROTECTED;
37
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif
44
_x_init_broadcaster
broadcaster_t * _x_init_broadcaster(xine_stream_t *stream, int port)
Definition: broadcaster.c:313
_x_get_broadcaster_port
int _x_get_broadcaster_port(broadcaster_t *this_gen)
Definition: broadcaster.c:412
_x_close_broadcaster
void _x_close_broadcaster(broadcaster_t *this_gen)
Definition: broadcaster.c:381
attributes.h
XINE_MALLOC
#define XINE_MALLOC
Definition: attributes.h:141
XINE_PROTECTED
#define XINE_PROTECTED
Definition: attributes.h:75
broadcaster_s
Definition: broadcaster.c:82
broadcaster_s::port
int port
Definition: broadcaster.c:84
broadcaster_s::stream
xine_stream_t * stream
Definition: broadcaster.c:83
xine_stream_s
Definition: xine_internal.h:123