]> git.sesse.net Git - vlc/blob - modules/access/dtv/en50221.h
libav*: move avformat/avcodec init to a single header file
[vlc] / modules / access / dtv / en50221.h
1 /*****************************************************************************
2  * en50221.h:
3  *****************************************************************************
4  * Copyright (C) 1998-2010 the VideoLAN team
5  *
6  * Authors: Johan Bilien <jobi@via.ecp.fr>
7  *          Jean-Paul Saman <jpsaman _at_ videolan _dot_ org>
8  *          Christopher Ross <chris@tebibyte.org>
9  *          Christophe Massiot <massiot@via.ecp.fr>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111, USA.
24  *****************************************************************************/
25
26 typedef struct cam cam_t;
27 struct dvbpsi_pmt_s;
28
29 cam_t *en50221_Init( vlc_object_t *, int fd );
30 void en50221_Poll( cam_t * );
31 int en50221_SetCAPMT( cam_t *, struct dvbpsi_pmt_s * );
32 char *en50221_Status( cam_t *, char *req );
33 void en50221_End( cam_t * );
34
35 #define STRINGIFY( z )   UGLY_KLUDGE( z )
36 #define UGLY_KLUDGE( z ) #z