PulseAudio  9.0
utf8.h
Go to the documentation of this file.
00001 #ifndef fooutf8hfoo
00002 #define fooutf8hfoo
00003 
00004 /***
00005   This file is part of PulseAudio.
00006 
00007   Copyright 2006 Lennart Poettering
00008   Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
00009 
00010   PulseAudio is free software; you can redistribute it and/or modify
00011   it under the terms of the GNU Lesser General Public License as
00012   published by the Free Software Foundation; either version 2.1 of the
00013   License, or (at your option) any later version.
00014 
00015   PulseAudio is distributed in the hope that it will be useful, but
00016   WITHOUT ANY WARRANTY; without even the implied warranty of
00017   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00018   Lesser General Public License for more details.
00019 
00020   You should have received a copy of the GNU Lesser General Public
00021   License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
00022 ***/
00023 
00024 #include <pulse/cdecl.h>
00025 #include <pulse/gccmacro.h>
00026 #include <pulse/version.h>
00027 
00032 PA_C_DECL_BEGIN
00033 
00035 char *pa_utf8_valid(const char *str) PA_GCC_PURE;
00036 
00038 char *pa_ascii_valid(const char *str) PA_GCC_PURE;
00039 
00041 char *pa_utf8_filter(const char *str);
00042 
00044 char *pa_ascii_filter(const char *str);
00045 
00047 char* pa_utf8_to_locale (const char *str);
00048 
00050 char* pa_locale_to_utf8 (const char *str);
00051 
00052 PA_C_DECL_END
00053 
00054 #endif