]> code.delx.au - pulseaudio/commitdiff
Move utf8 to the public part (libpolyp).
authorPierre Ossman <ossman@cendio.se>
Wed, 17 May 2006 17:30:49 +0000 (17:30 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 17 May 2006 17:30:49 +0000 (17:30 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@909 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/Makefile.am
src/polyp/utf8.c [moved from src/polypcore/utf8.c with 99% similarity]
src/polyp/utf8.h [moved from src/polypcore/utf8.h with 100% similarity]
src/polypcore/protocol-esound.c
src/polypcore/protocol-native.c
src/polypcore/sink-input.c
src/polypcore/sink.c
src/polypcore/source-output.c
src/polypcore/source.c
src/tests/utf8-test.c

index afbdedee1265f7552d66344bf1be3a28a50d8288..72db5f80e684eb6d2e958d1bd4002b727cfdd0c1 100644 (file)
@@ -313,6 +313,7 @@ polypinclude_HEADERS = \
                polyp/subscribe.h \
                polyp/version.h \
                polyp/sample.h \
+               polyp/utf8.h \
                polyp/volume.h \
                polyp/xmalloc.h
 
@@ -358,6 +359,7 @@ libpolyp_la_SOURCES = \
                polyp/subscribe.c polyp/subscribe.h \
                polyp/sample.c polyp/sample.h \
                polyp/volume.c polyp/volume.h \
+               polyp/utf8.c polyp/utf8.h \
                polyp/mainloop.c polyp/mainloop.h \
                polyp/mainloop-signal.c polyp/mainloop-signal.h \
                polyp/thread-mainloop.c polyp/thread-mainloop.h \
@@ -485,8 +487,7 @@ polypcoreinclude_HEADERS = \
                polypcore/source-output.h \
                polypcore/strbuf.h \
                polypcore/tokenizer.h \
-               polypcore/util.h \
-               polypcore/utf8.h
+               polypcore/util.h
 
 lib_LTLIBRARIES += libpolypcore.la
 
@@ -498,6 +499,7 @@ libpolypcore_la_SOURCES = \
                polyp/mainloop-signal.c polyp/mainloop-signal.h \
                polyp/sample.c polyp/sample.h \
                polyp/volume.c polyp/volume.h \
+               polyp/utf8.c polyp/utf8.h \
                polyp/xmalloc.c polyp/xmalloc.h
 
 # Pure core stuff (some are shared in libpolyp though).
@@ -546,8 +548,7 @@ libpolypcore_la_SOURCES += \
                polypcore/strbuf.c polypcore/strbuf.h \
                polypcore/tokenizer.c polypcore/tokenizer.h \
                polypcore/util.c polypcore/util.h \
-               polypcore/winsock.h \
-               polypcore/utf8.c polypcore/utf8.h
+               polypcore/winsock.h
 
 if OS_IS_WIN32
 libpolypcore_la_SOURCES += \
similarity index 99%
rename from src/polypcore/utf8.c
rename to src/polyp/utf8.c
index 01fbfccd18a825d59fe46d07426ddd146ce201fa..bb8621e236df4597f651faf8f2ccdae644f7f863 100644 (file)
@@ -33,9 +33,8 @@
 #include <inttypes.h>
 #include <string.h>
 
-#include <polyp/xmalloc.h>
-
 #include "utf8.h"
+#include "xmalloc.h"
 
 #define FILTER_CHAR '_'
 
similarity index 100%
rename from src/polypcore/utf8.h
rename to src/polyp/utf8.h
index 86a8c9e3c0348a2dc2a1e6959f5b2a3b12ba1473..8f53694e7142efaac82fbb37b138c5c2a7b21d0a 100644 (file)
@@ -31,6 +31,7 @@
 #include <limits.h>
 
 #include <polyp/sample.h>
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
 
 #include <polypcore/esound.h>
@@ -46,7 +47,6 @@
 #include <polypcore/namereg.h>
 #include <polypcore/log.h>
 #include <polypcore/util.h>
-#include <polypcore/utf8.h>
 
 #include "endianmacros.h"
 
index b0ad59551d9ae2e55220ee04752f43c827dfaeae..338db002055f97328a82e912d4ed73a7073837af 100644 (file)
@@ -30,6 +30,7 @@
 #include <unistd.h>
 
 #include <polyp/version.h>
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
 
 #include <polypcore/native-common.h>
@@ -53,7 +54,6 @@
 #include <polypcore/props.h>
 #include <polypcore/sample-util.h>
 #include <polypcore/llist.h>
-#include <polypcore/utf8.h>
 
 #include "protocol-native.h"
 
index 5c0caa2112ed02749c0232cec2e109e1a4e554ee..bd2a1dcd178905374b74769040cfd2d1fc835bb0 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
 
 #include <polypcore/sample-util.h>
 #include <polypcore/core-subscribe.h>
 #include <polypcore/log.h>
-#include <polypcore/utf8.h>
 
 #include "sink-input.h"
 
index a873c00a3c04177ae4125e4cd7ed715ad8118b25..6931d396d2fca2920abc97691e8d6a68a258a4d1 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdio.h>
 
 #include <polyp/introspect.h>
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
 
 #include <polypcore/sink-input.h>
@@ -37,7 +38,6 @@
 #include <polypcore/sample-util.h>
 #include <polypcore/core-subscribe.h>
 #include <polypcore/log.h>
-#include <polypcore/utf8.h>
 
 #include "sink.h"
 
index c8db870b5aa1850d3c4442768c85115b14aac916..8ac3a33d449b39db14d42140ac91b1fa986bfbbd 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
 
 #include <polypcore/core-subscribe.h>
 #include <polypcore/log.h>
-#include <polypcore/utf8.h>
 
 #include "source-output.h"
 
index 4d96622bf42cea504b5c832f9ee61dde731645db..c53bf079fc29cd3304c7c7261686f0b216867ad6 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
 
 #include <polypcore/source-output.h>
@@ -35,7 +36,6 @@
 #include <polypcore/core-subscribe.h>
 #include <polypcore/log.h>
 #include <polypcore/sample-util.h>
-#include <polypcore/utf8.h>
 
 #include "source.h"
 
index 57f445c7e09e80f2b6cab00a7af3283da8ff85cc..2c21613e977be3973631889bd99369b5600ad65f 100644 (file)
@@ -3,8 +3,8 @@
 #include <stdio.h>
 #include <assert.h>
 
+#include <polyp/utf8.h>
 #include <polyp/xmalloc.h>
-#include <polypcore/utf8.h>
 
 int main(int argc, char *argv[]) {
     char *c;