]> git.sesse.net Git - vlc/blobdiff - include/charset.h
* Add dvcp and dvpp FOURCCs (the PAl versions of QuickTime DV and DVPro apparently)
[vlc] / include / charset.h
index bd15e9da55340b2c255d4a523f9077f4335887b9..f8cdd73cefffa058c493e1f3e7aed29ea7968cd8 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * charset.h: Determine a canonical name for the current locale's character encoding.
  *****************************************************************************
- * Copyright (C) 2003 the VideoLAN team
+ * Copyright (C) 2003-2005 the VideoLAN team
  * $Id$
  *
  * Author: Derk-Jan Hartman <thedj at users.sourceforge.net>
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef __VLC_CHARSET_H
+#define __VLC_CHARSET_H 1
+
 # ifdef __cplusplus
 extern "C" {
 # endif
@@ -28,9 +31,27 @@ extern "C" {
 VLC_EXPORT( vlc_bool_t, vlc_current_charset, ( char ** ) );
 VLC_EXPORT( void, LocaleFree, ( const char * ) );
 VLC_EXPORT( char *, FromLocale, ( const char * ) );
+VLC_EXPORT( char *, FromLocaleDup, ( const char * ) );
 VLC_EXPORT( char *, ToLocale, ( const char * ) );
+
+VLC_EXPORT( FILE *, utf8_fopen, ( const char *filename, const char *mode ) );
+VLC_EXPORT( void *, utf8_opendir, ( const char *dirname ) );
+VLC_EXPORT( const char *, utf8_readdir, ( void *dir ) );
+VLC_EXPORT( int, utf8_stat, ( const char *filename, void *buf ) );
+VLC_EXPORT( int, utf8_lstat, ( const char *filename, void *buf ) );
+VLC_EXPORT( int, utf8_mkdir, ( const char *filename ) );
+
+#ifndef __PLUGIN__
+int utf8_fprintf( FILE *, const char *, ... );
+#endif
+
 VLC_EXPORT( char *, EnsureUTF8, ( char * ) );
+VLC_EXPORT( char *, FromUTF32, ( const wchar_t * ) );
+VLC_EXPORT( char *, __vlc_fix_readdir_charset, ( vlc_object_t *, const char * ) );
+#define vlc_fix_readdir_charset(a,b) __vlc_fix_readdir_charset(VLC_OBJECT(a),b)
 
 # ifdef __cplusplus
 }
 # endif
+
+#endif