]> git.sesse.net Git - vlc/blob - plugins/satellite/satellite.c
5f89482d60182bc5163bb4bc9f0d92e0184337c4
[vlc] / plugins / satellite / satellite.c
1 /*****************************************************************************
2  * dvb.c : Satellite input module for vlc
3  *****************************************************************************
4  * Copyright (C) 2000 VideoLAN
5  *
6  * Authors: Samuel Hocevar <sam@zoy.org>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  * 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
21  *****************************************************************************/
22
23 /*****************************************************************************
24  * Preamble
25  *****************************************************************************/
26 #include <stdlib.h>                                      /* malloc(), free() */
27 #include <string.h>                                              /* strdup() */
28
29 #include <videolan/vlc.h>
30
31 /*****************************************************************************
32  * Capabilities defined in the other files.
33  *****************************************************************************/
34 void _M( access_getfunctions )( function_list_t * p_function_list );
35 void _M( demux_getfunctions )( function_list_t * p_function_list );
36
37 /*****************************************************************************
38  * Local prototypes.
39  *****************************************************************************/
40
41 /*****************************************************************************
42  * Build configuration tree.
43  *****************************************************************************/
44 MODULE_CONFIG_START
45 MODULE_CONFIG_STOP
46
47 MODULE_INIT_START
48     SET_DESCRIPTION( "Satellite input module" )
49     ADD_CAPABILITY( DEMUX, 0 )
50     ADD_CAPABILITY( ACCESS, 50 )
51     ADD_SHORTCUT( "satellite" )
52 MODULE_INIT_STOP
53
54 MODULE_ACTIVATE_START
55     _M( access_getfunctions )( &p_module->p_functions->access );
56     _M( demux_getfunctions )( &p_module->p_functions->demux );
57 MODULE_ACTIVATE_STOP
58
59 MODULE_DEACTIVATE_START
60 MODULE_DEACTIVATE_STOP
61