* eyetv.c : Access module to connect to our plugin running within EyeTV
*****************************************************************************
* Copyright (C) 2006-2007 the VideoLAN team
- * $Id: eyetv.c 23509 2007-12-09 17:39:28Z courmisch $
+ * $Id$
*
* Author: Felix Kühne <fkuehne at videolan dot org>
*
* Preamble
*****************************************************************************/
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <vlc_access.h>
#include <vlc_network.h>
"-1 for S-Video input, -2 for Composite input" )
vlc_module_begin();
set_shortname( "EyeTV" );
- set_description( _("EyeTV access module") );
+ set_description( N_("EyeTV access module") );
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACCESS );
add_integer( "eyetv-channel", 0, NULL,
- CHANNEL_TEXT, CHANNEL_LONGTEXT, VLC_FALSE );
+ CHANNEL_TEXT, CHANNEL_LONGTEXT, false );
- set_capability( "access2", 0 );
+ set_capability( "access", 0 );
add_shortcut( "eyetv" );
set_callbacks( Open, Close );
vlc_module_end();
return 0;
i_read = net_Read( p_access, p_sys->eyetvSock, NULL, p_buffer, i_len,
- VLC_FALSE );
+ false );
if( i_read == 0 )
- p_access->info.b_eof = VLC_TRUE;
+ p_access->info.b_eof = true;
else if( i_read > 0 )
p_access->info.i_pos += i_read;
*****************************************************************************/
static int Control( access_t *p_access, int i_query, va_list args )
{/*
- vlc_bool_t *pb_bool;
+ bool *pb_bool;
int *pi_int;
int64_t *pi_64;