aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libxsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-10 12:50:31 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-12 15:48:47 +0100
commit0f1cfc198617ebb5b63fadb81c4daf94aa4c7b91 (patch)
tree3aab6e3e115426d3debdb7b5f75572e9f521ea70 /openbsc/src/libxsc
parentdfe48fdecf5e953fa5c08053e8781d4daf6ad4a4 (diff)
Add empty libxsc
This will gradually soak up code shared by libbsc and libmsc. Change-Id: If34e2bd38a099d0799238337468d56e0305ab8ae
Diffstat (limited to 'openbsc/src/libxsc')
-rw-r--r--openbsc/src/libxsc/Makefile.am20
-rw-r--r--openbsc/src/libxsc/xsc.c19
-rw-r--r--openbsc/src/libxsc/xsc_vty.c19
3 files changed, 58 insertions, 0 deletions
diff --git a/openbsc/src/libxsc/Makefile.am b/openbsc/src/libxsc/Makefile.am
new file mode 100644
index 000000000..c42ae202a
--- /dev/null
+++ b/openbsc/src/libxsc/Makefile.am
@@ -0,0 +1,20 @@
+AM_CPPFLAGS = \
+ $(all_includes) \
+ -I$(top_srcdir)/include \
+ -I$(top_builddir) \
+ $(NULL)
+
+AM_CFLAGS = \
+ -Wall \
+ $(LIBOSMOCORE_CFLAGS) \
+ $(LIBOSMOGSM_CFLAGS) \
+ $(LIBOSMOVTY_CFLAGS) \
+ $(LIBOSMOABIS_CFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ $(NULL)
+
+noinst_LIBRARIES = libxsc.a
+
+libxsc_a_SOURCES = \
+ xsc.c \
+ xsc_vty.c
diff --git a/openbsc/src/libxsc/xsc.c b/openbsc/src/libxsc/xsc.c
new file mode 100644
index 000000000..141179b00
--- /dev/null
+++ b/openbsc/src/libxsc/xsc.c
@@ -0,0 +1,19 @@
+/* Code used by both libbsc and libmsc (xsc means "BSC or MSC").
+ *
+ * (C) 2016 by sysmocom s.m.f.c. <info@sysmocom.de>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
diff --git a/openbsc/src/libxsc/xsc_vty.c b/openbsc/src/libxsc/xsc_vty.c
new file mode 100644
index 000000000..141179b00
--- /dev/null
+++ b/openbsc/src/libxsc/xsc_vty.c
@@ -0,0 +1,19 @@
+/* Code used by both libbsc and libmsc (xsc means "BSC or MSC").
+ *
+ * (C) 2016 by sysmocom s.m.f.c. <info@sysmocom.de>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */