summaryrefslogtreecommitdiffstats
path: root/src/polypcore/utf8.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-05-15 13:04:13 +0000
committerPierre Ossman <ossman@cendio.se>2006-05-15 13:04:13 +0000
commit9c8661c675c92c15793b1f1005816d0d0531e6cf (patch)
treed199001f16f23173b6b9da7de8aa6733380f0172 /src/polypcore/utf8.h
parent7a92f361c66821a6cf89a85876510c15f851fd1b (diff)
Add function to filter a string of any invalid UTF-8 sequences. User must
free() the result. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@872 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/utf8.h')
-rw-r--r--src/polypcore/utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/polypcore/utf8.h b/src/polypcore/utf8.h
index 7f394978..5f1fc5df 100644
--- a/src/polypcore/utf8.h
+++ b/src/polypcore/utf8.h
@@ -23,5 +23,6 @@
***/
const char *pa_utf8_valid(const char *str);
+const char *pa_utf8_filter(const char *str);
#endif