Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
libdvdcss
Commits
0d571b2c
Commit
0d571b2c
authored
Oct 24, 2014
by
Diego Biurrun
Browse files
Rename win_readv() to win2k_readv for consistency.
parent
7325feef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/device.c
View file @
0d571b2c
...
...
@@ -83,10 +83,10 @@ static int libc_read ( dvdcss_t, void *, int );
static
int
libc_readv
(
dvdcss_t
,
struct
iovec
*
,
int
);
#ifdef WIN32
static
int
win2k_open
(
dvdcss_t
,
const
char
*
);
static
int
win2k_seek
(
dvdcss_t
,
int
);
static
int
win2k_read
(
dvdcss_t
,
void
*
,
int
);
static
int
win_readv
(
dvdcss_t
,
struct
iovec
*
,
int
);
static
int
win2k_open
(
dvdcss_t
,
const
char
*
);
static
int
win2k_seek
(
dvdcss_t
,
int
);
static
int
win2k_read
(
dvdcss_t
,
void
*
,
int
);
static
int
win
2k
_readv
(
dvdcss_t
,
struct
iovec
*
,
int
);
#elif defined( __OS2__ )
static
int
os2_open
(
dvdcss_t
,
const
char
*
);
...
...
@@ -363,7 +363,7 @@ int dvdcss_open_device ( dvdcss_t dvdcss )
print_debug
(
dvdcss
,
"using Win2K API for access"
);
dvdcss
->
pf_seek
=
win2k_seek
;
dvdcss
->
pf_read
=
win2k_read
;
dvdcss
->
pf_readv
=
win_readv
;
dvdcss
->
pf_readv
=
win
2k
_readv
;
return
win2k_open
(
dvdcss
,
psz_device
);
}
else
...
...
@@ -724,9 +724,9 @@ static int libc_readv ( dvdcss_t dvdcss, struct iovec *p_iovec, int i_blocks )
#if defined( WIN32 )
/*****************************************************************************
* win_readv: vectored read using ReadFile for Win2K
* win
2k
_readv: vectored read using ReadFile for Win2K
*****************************************************************************/
static
int
win_readv
(
dvdcss_t
dvdcss
,
struct
iovec
*
p_iovec
,
int
i_blocks
)
static
int
win
2k
_readv
(
dvdcss_t
dvdcss
,
struct
iovec
*
p_iovec
,
int
i_blocks
)
{
int
i_index
;
int
i_blocks_read
,
i_blocks_total
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment