Changeset e4c0e92a1f78b19caf0f13b02198b37b9f8144cd
- Timestamp:
- 24/05/08 10:04:59
(6 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1211616299 +0300
- git-parent:
[0b3174ed6e6940bc628544e7effed4ff90f5a7fa]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1211616299 +0300
- Message:
vlc_.*dir: declare internally, as it's only used with libvlc
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rff02bf9 |
re4c0e92 |
|
| 130 | 130 | #endif |
|---|
| 131 | 131 | |
|---|
| 132 | | #ifndef HAVE_DIRENT_H |
|---|
| 133 | | typedef void DIR; |
|---|
| 134 | | # ifndef FILENAME_MAX |
|---|
| 135 | | # define FILENAME_MAX (260) |
|---|
| 136 | | # endif |
|---|
| 137 | | struct dirent |
|---|
| 138 | | { |
|---|
| 139 | | long d_ino; /* Always zero. */ |
|---|
| 140 | | unsigned short d_reclen; /* Always zero. */ |
|---|
| 141 | | unsigned short d_namlen; /* Length of name in d_name. */ |
|---|
| 142 | | char d_name[FILENAME_MAX]; /* File name. */ |
|---|
| 143 | | }; |
|---|
| 144 | | # define opendir vlc_opendir |
|---|
| 145 | | # define readdir vlc_readdir |
|---|
| 146 | | # define closedir vlc_closedir |
|---|
| 147 | | # define rewinddir vlc_rewindir |
|---|
| 148 | | VLC_EXPORT( void *, vlc_opendir, ( const char * ) ); |
|---|
| 149 | | VLC_EXPORT( void *, vlc_readdir, ( void * ) ); |
|---|
| 150 | | VLC_EXPORT( int, vlc_closedir, ( void * ) ); |
|---|
| 151 | | VLC_INTERNAL( void, vlc_rewinddir, ( void * ) ); |
|---|
| 152 | | #endif |
|---|
| 153 | | |
|---|
| 154 | 132 | #ifndef HAVE_USELOCALE |
|---|
| 155 | 133 | typedef void *locale_t; |
|---|
| r0b3174e |
re4c0e92 |
|
| 253 | 253 | void var_OptionParse (vlc_object_t *, const char *, bool trusted); |
|---|
| 254 | 254 | |
|---|
| | 255 | /* |
|---|
| | 256 | * Replacement functions |
|---|
| | 257 | */ |
|---|
| | 258 | # ifndef HAVE_DIRENT_H |
|---|
| | 259 | typedef void DIR; |
|---|
| | 260 | # ifndef FILENAME_MAX |
|---|
| | 261 | # define FILENAME_MAX (260) |
|---|
| | 262 | # endif |
|---|
| | 263 | struct dirent |
|---|
| | 264 | { |
|---|
| | 265 | long d_ino; /* Always zero. */ |
|---|
| | 266 | unsigned short d_reclen; /* Always zero. */ |
|---|
| | 267 | unsigned short d_namlen; /* Length of name in d_name. */ |
|---|
| | 268 | char d_name[FILENAME_MAX]; /* File name. */ |
|---|
| | 269 | }; |
|---|
| | 270 | # define opendir vlc_opendir |
|---|
| | 271 | # define readdir vlc_readdir |
|---|
| | 272 | # define closedir vlc_closedir |
|---|
| | 273 | # define rewinddir vlc_rewindir |
|---|
| | 274 | void *vlc_opendir (const char *); |
|---|
| | 275 | void *vlc_readdir (void *); |
|---|
| | 276 | int vlc_closedir(void *); |
|---|
| | 277 | void vlc_rewinddir(void *); |
|---|
| | 278 | # endif |
|---|
| | 279 | |
|---|
| 255 | 280 | #endif |
|---|
| rab67a53 |
re4c0e92 |
|
| 380 | 380 | vlc_b64_encode_binary |
|---|
| 381 | 381 | VLC_Changeset |
|---|
| 382 | | vlc_closedir |
|---|
| 383 | 382 | VLC_CompileBy |
|---|
| 384 | 383 | VLC_CompileDomain |
|---|
| … | … | |
| 438 | 437 | __vlc_object_waitpipe |
|---|
| 439 | 438 | __vlc_object_yield |
|---|
| 440 | | vlc_opendir |
|---|
| 441 | 439 | vlc_pthread_fatal |
|---|
| 442 | 440 | vlc_rand_bytes |
|---|
| 443 | | vlc_readdir |
|---|
| 444 | 441 | vlc_recvmsg |
|---|
| 445 | 442 | vlc_scandir |
|---|