Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
0ed6e06d
Commit
0ed6e06d
authored
Aug 31, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
file access: rename callbacks
avoid having extern Open() symbol defined multiple times in static builds
parent
a4c19fb2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
modules/access/file.c
modules/access/file.c
+4
-4
modules/access/fs.c
modules/access/fs.c
+1
-1
modules/access/fs.h
modules/access/fs.h
+2
-2
No files found.
modules/access/file.c
View file @
0ed6e06d
...
...
@@ -129,9 +129,9 @@ static bool IsRemote (int fd)
#endif
/*****************************************************************************
* Open: open the file
*
File
Open: open the file
*****************************************************************************/
int
Open
(
vlc_object_t
*
p_this
)
int
File
Open
(
vlc_object_t
*
p_this
)
{
access_t
*
p_access
=
(
access_t
*
)
p_this
;
#ifdef WIN32
...
...
@@ -242,9 +242,9 @@ error:
}
/*****************************************************************************
* Close: close the target
*
File
Close: close the target
*****************************************************************************/
void
Close
(
vlc_object_t
*
p_this
)
void
File
Close
(
vlc_object_t
*
p_this
)
{
access_t
*
p_access
=
(
access_t
*
)
p_this
;
...
...
modules/access/fs.c
View file @
0ed6e06d
...
...
@@ -56,7 +56,7 @@ vlc_module_begin ()
add_obsolete_string
(
"file-cat"
)
set_capability
(
"access"
,
50
)
add_shortcut
(
"file"
,
"fd"
,
"stream"
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
FileOpen
,
File
Close
)
add_submodule
()
set_section
(
N_
(
"Directory"
),
NULL
)
...
...
modules/access/fs.h
View file @
0ed6e06d
...
...
@@ -20,8 +20,8 @@
#include <dirent.h>
int
Open
(
vlc_object_t
*
);
void
Close
(
vlc_object_t
*
);
int
File
Open
(
vlc_object_t
*
);
void
File
Close
(
vlc_object_t
*
);
int
NoSeek
(
access_t
*
,
uint64_t
);
ssize_t
FileRead
(
access_t
*
,
uint8_t
*
,
size_t
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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