Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e4c0e92a
Commit
e4c0e92a
authored
May 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_.*dir: declare internally, as it's only used with libvlc
parent
0b3174ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
25 deletions
+25
-25
include/vlc_fixups.h
include/vlc_fixups.h
+0
-22
src/libvlc.h
src/libvlc.h
+25
-0
src/libvlccore.sym
src/libvlccore.sym
+0
-3
No files found.
include/vlc_fixups.h
View file @
e4c0e92a
...
...
@@ -129,28 +129,6 @@ static inline struct tm *gmtime_r (const time_t *timep, struct tm *result)
}
#endif
#ifndef HAVE_DIRENT_H
typedef
void
DIR
;
# ifndef FILENAME_MAX
# define FILENAME_MAX (260)
# endif
struct
dirent
{
long
d_ino
;
/* Always zero. */
unsigned
short
d_reclen
;
/* Always zero. */
unsigned
short
d_namlen
;
/* Length of name in d_name. */
char
d_name
[
FILENAME_MAX
];
/* File name. */
};
# define opendir vlc_opendir
# define readdir vlc_readdir
# define closedir vlc_closedir
# define rewinddir vlc_rewindir
VLC_EXPORT
(
void
*
,
vlc_opendir
,
(
const
char
*
)
);
VLC_EXPORT
(
void
*
,
vlc_readdir
,
(
void
*
)
);
VLC_EXPORT
(
int
,
vlc_closedir
,
(
void
*
)
);
VLC_INTERNAL
(
void
,
vlc_rewinddir
,
(
void
*
)
);
#endif
#ifndef HAVE_USELOCALE
typedef
void
*
locale_t
;
# define newlocale( a, b, c ) ((locale_t)0)
...
...
src/libvlc.h
View file @
e4c0e92a
...
...
@@ -252,4 +252,29 @@ extern const size_t libvlc_config_count;
*/
void
var_OptionParse
(
vlc_object_t
*
,
const
char
*
,
bool
trusted
);
/*
* Replacement functions
*/
# ifndef HAVE_DIRENT_H
typedef
void
DIR
;
# ifndef FILENAME_MAX
# define FILENAME_MAX (260)
# endif
struct
dirent
{
long
d_ino
;
/* Always zero. */
unsigned
short
d_reclen
;
/* Always zero. */
unsigned
short
d_namlen
;
/* Length of name in d_name. */
char
d_name
[
FILENAME_MAX
];
/* File name. */
};
# define opendir vlc_opendir
# define readdir vlc_readdir
# define closedir vlc_closedir
# define rewinddir vlc_rewindir
void
*
vlc_opendir
(
const
char
*
);
void
*
vlc_readdir
(
void
*
);
int
vlc_closedir
(
void
*
);
void
vlc_rewinddir
(
void
*
);
# endif
#endif
src/libvlccore.sym
View file @
e4c0e92a
...
...
@@ -379,7 +379,6 @@ vlc_b64_decode_binary_to_buffer
vlc_b64_encode
vlc_b64_encode_binary
VLC_Changeset
vlc_closedir
VLC_CompileBy
VLC_CompileDomain
VLC_CompileHost
...
...
@@ -437,10 +436,8 @@ __vlc_object_unlock
__vlc_object_wait
__vlc_object_waitpipe
__vlc_object_yield
vlc_opendir
vlc_pthread_fatal
vlc_rand_bytes
vlc_readdir
vlc_recvmsg
vlc_scandir
vlc_sdp_Start
...
...
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