Huge Windows utf8 I/O patch.
[flac.git] / include / share / utf8_io.h
blob1b8988a8e55f76c371634c8178c53fd6c6557330
1 #ifdef FLAC__STRINGS_IN_UTF8
3 #ifndef flac__utf8_io_h
4 #define flac__utf8_io_h
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 #include <stdio.h>
11 #include <sys/stat.h>
12 #include <stdarg.h>
15 int get_utf8_argv(int *argc, char ***argv);
17 int printf_utf8(const char *format, ...);
18 int fprintf_utf8(FILE *stream, const char *format, ...);
19 int vfprintf_utf8(FILE *stream, const char *format, va_list argptr);
21 FILE *fopen_utf8(const char *filename, const char *mode);
22 int stat_utf8(const char *path, struct stat *buffer);
23 int _stat64_utf8(const char *path, struct _stat64 *buffer);
24 int chmod_utf8(const char *filename, int pmode);
25 int utime_utf8(const char *filename, struct utimbuf *times);
26 int unlink_utf8(const char *filename);
27 int rename_utf8(const char *oldname, const char *newname);
29 #ifdef __cplusplus
30 } /* extern "C" */
31 #endif
33 #endif
34 #endif