if( p_access->info.b_eof )
return 0;
- i_read = net_Read( p_access, p_sys->fd_data, p_buffer, i_len, VLC_FALSE );
+ i_read = net_Read( p_access, p_sys->fd_data, NULL, p_buffer, i_len,
+ VLC_FALSE );
if( i_read == 0 )
p_access->info.b_eof = VLC_TRUE;
else if( i_read > 0 )
case ACCESS_GET_TITLE_INFO:
case ACCESS_SET_TITLE:
case ACCESS_SET_SEEKPOINT:
+ case ACCESS_SET_PRIVATE_ID_STATE:
return VLC_EGENERIC;
default:
- msg_Err( p_access, "unimplemented query in control" );
+ msg_Warn( p_access, "unimplemented query in control" );
return VLC_EGENERIC;
}
va_end( args );
msg_Dbg( p_access, "ftp_SendCommand:\"%s\"", psz_cmd);
- if( ( i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd,
+ if( ( i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd, NULL,
"%s", psz_cmd ) ) > 0 )
{
- i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd, "\r\n" );
+ i_ret = net_Printf( VLC_OBJECT(p_access), p_sys->fd_cmd, NULL,
+ "\r\n" );
}
if( i_ret < 0 )
char *psz_line;
int i_answer;
- psz_line = net_Gets( p_access, p_sys->fd_cmd );
+ psz_line = net_Gets( p_access, p_sys->fd_cmd, NULL );
msg_Dbg( p_access, "answer=%s", psz_line );
if( psz_line == NULL || strlen( psz_line ) < 3 )
{
for( ;; )
{
- char *psz_tmp = net_Gets( p_access, p_sys->fd_cmd );
+ char *psz_tmp = net_Gets( p_access, p_sys->fd_cmd, NULL );
if( psz_tmp == NULL ) /* Error */
break;