Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1e50cd4c
Commit
1e50cd4c
authored
May 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlccore: Add vlc_wclosedir to the exported symbols.
parent
6475cab1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
10 deletions
+19
-10
include/vlc_common.h
include/vlc_common.h
+3
-0
src/extras/libc.c
src/extras/libc.c
+14
-9
src/libvlc.h
src/libvlc.h
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+1
-0
No files found.
include/vlc_common.h
View file @
1e50cd4c
...
...
@@ -774,6 +774,9 @@ VLC_EXPORT( int, vlc_iconv_close, ( vlc_iconv_t ) );
VLC_EXPORT
(
int
,
__vlc_execve
,
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
pp_argv
,
char
*
const
*
pp_env
,
const
char
*
psz_cwd
,
const
char
*
p_in
,
size_t
i_in
,
char
**
pp_data
,
size_t
*
pi_data
)
);
#define vlc_execve(a,b,c,d,e,f,g,h,i) __vlc_execve(VLC_OBJECT(a),b,c,d,e,f,g,h,i)
/* dir wrappers (defined in src/extras/libc.c) */
VLC_EXPORT
(
int
,
vlc_wclosedir
,
(
void
*
_p_dir
));
/*****************************************************************************
* CPU capabilities
*****************************************************************************/
...
...
src/extras/libc.c
View file @
1e50cd4c
...
...
@@ -296,26 +296,31 @@ struct _wdirent *vlc_wreaddir( void *_p_dir )
return
&
p_dir
->
dd_dir
;
}
int
vlc_wclose
dir
(
void
*
_p_dir
)
void
vlc_rewind
dir
(
void
*
_p_dir
)
{
vlc_DIR
*
p_dir
=
(
vlc_DIR
*
)
_p_dir
;
int
i_ret
=
0
;
if
(
p_dir
->
p_real_dir
!=
NULL
)
i_ret
=
_wclosedir
(
p_dir
->
p_real_dir
);
free
(
p_dir
);
return
i_ret
;
_wrewinddir
(
p_dir
->
p_real_dir
);
}
#endif
void
vlc_rewinddir
(
void
*
_p_dir
)
/* This one is in the libvlccore exported symbol list */
int
vlc_wclosedir
(
void
*
_p_dir
)
{
#if defined(WIN32) && !defined(UNDER_CE)
vlc_DIR
*
p_dir
=
(
vlc_DIR
*
)
_p_dir
;
int
i_ret
=
0
;
if
(
p_dir
->
p_real_dir
!=
NULL
)
_wrewinddir
(
p_dir
->
p_real_dir
);
}
i_ret
=
_wclosedir
(
p_dir
->
p_real_dir
);
free
(
p_dir
);
return
i_ret
;
#else
return
closedir
(
_p_dir
);
#endif
}
#if defined (WIN32)
/**
...
...
src/libvlc.h
View file @
1e50cd4c
...
...
@@ -280,7 +280,7 @@ void vlc_rewinddir(void *);
#if defined (WIN32)
# include <dirent.h>
void
*
vlc_wopendir
(
const
wchar_t
*
);
void
*
vlc_wclosedir
(
void
*
);
/* void *vlc_wclosedir (void *); in vlc's exported symbols */
struct
_wdirent
*
vlc_wreaddir
(
void
*
);
void
vlc_rewinddir
(
void
*
);
# define _wopendir vlc_wopendir
...
...
src/libvlccore.sym
View file @
1e50cd4c
...
...
@@ -454,6 +454,7 @@ vlc_threadvar_create
vlc_threadvar_delete
vlc_ureduce
VLC_Version
vlc_wclosedir
vlc_wraptext
vlm_Control
vlm_Delete
...
...
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