X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_fs.h;h=1210683153ec1fb2eeca48a34ed5d711a5519143;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=9f03b1b1ac73d8297afea438d021aab3415e8954;hpb=7e45ab1b284217f191c35c5c2916742b4fbe39ee;p=vlc diff --git a/include/vlc_fs.h b/include/vlc_fs.h index 9f03b1b1ac..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,16 +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