X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_fs.h;h=1210683153ec1fb2eeca48a34ed5d711a5519143;hb=6da459431abbea07af556699a251673a706ca584;hp=51bfd60c8e44564e832473ebb8df1831cfe1f5de;hpb=71a1c8a68f31206cf725563e07c225fed8e5727a;p=vlc diff --git a/include/vlc_fs.h b/include/vlc_fs.h index 51bfd60c8e..1210683153 100644 --- a/include/vlc_fs.h +++ b/include/vlc_fs.h @@ -33,6 +33,7 @@ VLC_EXPORT( int, vlc_open, ( const char *filename, int flags, ... ) LIBVLC_USED ); VLC_EXPORT( FILE *, vlc_fopen, ( const char *filename, const char *mode ) LIBVLC_USED ); +VLC_EXPORT( int, vlc_openat, ( int fd, const char *filename, int flags, ... ) LIBVLC_USED ); VLC_EXPORT( DIR *, vlc_opendir, ( const char *dirname ) LIBVLC_USED ); VLC_EXPORT( char *, vlc_readdir, ( DIR *dir ) LIBVLC_USED ); @@ -41,18 +42,16 @@ VLC_EXPORT( int, vlc_scandir, ( const char *dirname, char ***namelist, int (*sel VLC_EXPORT( int, vlc_mkdir, ( const char *filename, mode_t mode ) ); VLC_EXPORT( int, vlc_unlink, ( const char *filename ) ); -/* Not exported */ -int vlc_rename( const char *, const char * ); +VLC_EXPORT( int, vlc_rename, ( const char *oldpath, const char *newpath ) ); #if defined( WIN32 ) && !defined( UNDER_CE ) # define stat _stati64 #endif VLC_EXPORT( int, vlc_stat, ( const char *filename, struct stat *buf ) ); -VLC_EXPORT( int, utf8_lstat, ( const char *filename, struct stat *buf ) ); +VLC_EXPORT( int, vlc_lstat, ( const char *filename, struct stat *buf ) ); VLC_EXPORT( int, vlc_mkstemp, ( char * ) ); VLC_EXPORT( int, vlc_dup, ( int ) ); - #endif