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 afbdede..72db5f8 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 01fbfcc..bb8621e 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 86a8c9e..8f53694 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 b0ad595..338db00 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 5c0caa2..bd2a1dc 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 a873c00..6931d39 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 c8db870..8ac3a33 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 4d96622..c53bf07 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 57f445c..2c21613 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;