diff --git a/Makefile.am b/Makefile.am index face8600..d7cfc469 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,13 +42,12 @@ gisi_sources = gisi/phonet.h gisi/modem.h gisi/netlink.h gisi/netlink.c \ gisi/socket.h gisi/socket.c gisi/client.h gisi/client.c \ gisi/pep.h gisi/pep.c gisi/pipe.h gisi/pipe.c -gatmux_sources = gatmux/gatmux.h gatmux/gatmux.c \ - gatmux/gsm0710_p.h gatmux/gsm0710.c - gatchat_sources = gatchat/gatchat.h gatchat/gatchat.c \ gatchat/gatresult.h gatchat/gatresult.c \ gatchat/gatsyntax.h gatchat/gatsyntax.c \ - gatchat/ringbuffer.h gatchat/ringbuffer.c + gatchat/ringbuffer.h gatchat/ringbuffer.c \ + gatchat/gatmux.h gatchat/gatmux.c \ + gatchat/gsm0710.h gatchat/gsm0710.c udev_files = plugins/ofono.rules @@ -86,7 +85,7 @@ endif if ATMODEM builtin_modules += atmodem -builtin_sources += $(gatmux_sources) $(gatchat_sources) \ +builtin_sources += $(gatchat_sources) \ drivers/atmodem/atmodem.h \ drivers/atmodem/atmodem.c \ drivers/atmodem/call-settings.c \ @@ -185,8 +184,7 @@ AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GTHREAD_CFLAGS@ \ -DPLUGINDIR=\""$(build_plugindir)"\" INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/src \ - -I$(srcdir)/gdbus -I$(srcdir)/gisi \ - -I$(srcdir)/gatmux -I$(srcdir)/gatchat + -I$(srcdir)/gdbus -I$(srcdir)/gisi -I$(srcdir)/gatchat doc_files = doc/overview.txt \ doc/manager-api.txt doc/modem-api.txt doc/network-api.txt \ @@ -233,7 +231,7 @@ unit_test_simutil_SOURCES = unit/test-simutil.c src/util.c \ unit_test_simutil_LDADD = @GLIB_LIBS@ unit_objects += $(unit_test_simutil_OBJECTS) -unit_test_mux_SOURCES = unit/test-mux.c gatmux/gsm0710_p.h gatmux/gsm0710.c +unit_test_mux_SOURCES = unit/test-mux.c gatchat/gsm0710.h gatchat/gsm0710.c unit_test_mux_LDADD = @GLIB_LIBS@ unit_objects += $(unit_test_mux_OBJECTS) diff --git a/gatmux/gatmux.c b/gatchat/gatmux.c similarity index 93% rename from gatmux/gatmux.c rename to gatchat/gatmux.c index 14c567ed..6c67bfd6 100644 --- a/gatmux/gatmux.c +++ b/gatchat/gatmux.c @@ -1,8 +1,8 @@ /* * - * AT multiplexer library with GLib integration + * AT chat library with GLib integration * - * Copyright (C) 2009 Intel Corporation. All rights reserved. + * Copyright (C) 2008-2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -31,7 +31,7 @@ #include -#include "gsm0710_p.h" +#include "gsm0710.h" #include "gatmux.h" struct _GAtMux { diff --git a/gatmux/gatmux.h b/gatchat/gatmux.h similarity index 90% rename from gatmux/gatmux.h rename to gatchat/gatmux.h index e21231a3..397ca755 100644 --- a/gatmux/gatmux.h +++ b/gatchat/gatmux.h @@ -1,8 +1,8 @@ /* * - * AT multiplexer library with GLib integration + * AT chat library with GLib integration * - * Copyright (C) 2009 Intel Corporation. All rights reserved. + * Copyright (C) 2008-2009 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/gatmux/gsm0710.c b/gatchat/gsm0710.c similarity index 99% rename from gatmux/gsm0710.c rename to gatchat/gsm0710.c index 59bd6130..e9d128d0 100644 --- a/gatmux/gsm0710.c +++ b/gatchat/gsm0710.c @@ -1,6 +1,6 @@ /* * - * AT multiplexer library with GLib integration + * AT chat library with GLib integration * * Copyright (C) 2009 Intel Corporation. All rights reserved. * Copyright (C) 2009 Trolltech ASA. @@ -28,7 +28,7 @@ #include #include -#include "gsm0710_p.h" +#include "gsm0710.h" /* Frame types and subtypes */ #define GSM0710_OPEN_CHANNEL 0x3F diff --git a/gatmux/gsm0710_p.h b/gatchat/gsm0710.h similarity index 98% rename from gatmux/gsm0710_p.h rename to gatchat/gsm0710.h index 4961dabc..e94ff5ab 100644 --- a/gatmux/gsm0710_p.h +++ b/gatchat/gsm0710.h @@ -1,6 +1,6 @@ /* * - * AT multiplexer library with GLib integration + * AT chat library with GLib integration * * Copyright (C) 2009 Intel Corporation. All rights reserved. * Copyright (C) 2009 Trolltech ASA. diff --git a/unit/test-mux.c b/unit/test-mux.c index ad757f38..ba335db9 100644 --- a/unit/test-mux.c +++ b/unit/test-mux.c @@ -26,7 +26,7 @@ #include #include -#include "gsm0710_p.h" +#include "gsm0710.h" static void debug_message(struct gsm0710_context *ctx, const char *msg) {