This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/1123 Add empty libxsc This will gradually soak up code shared by libbsc and libmsc. Change-Id: If34e2bd38a099d0799238337468d56e0305ab8ae --- M openbsc/configure.ac M openbsc/include/openbsc/Makefile.am A openbsc/include/openbsc/xsc.h M openbsc/src/Makefile.am A openbsc/src/libxsc/Makefile.am A openbsc/src/libxsc/xsc.c A openbsc/src/libxsc/xsc_vty.c 7 files changed, 62 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/23/1123/1 diff --git a/openbsc/configure.ac b/openbsc/configure.ac index e2575c1..0e9ce98 100644 --- a/openbsc/configure.ac +++ b/openbsc/configure.ac @@ -214,6 +214,7 @@ src/libcommon/Makefile src/libfilter/Makefile src/libiu/Makefile + src/libxsc/Makefile src/osmo-nitb/Makefile src/osmo-bsc/Makefile src/osmo-bsc_nat/Makefile diff --git a/openbsc/include/openbsc/Makefile.am b/openbsc/include/openbsc/Makefile.am index c6a0149..1bec4f8 100644 --- a/openbsc/include/openbsc/Makefile.am +++ b/openbsc/include/openbsc/Makefile.am @@ -81,6 +81,7 @@ vty.h \ v42bis.h \ v42bis_private.h \ + xsc.h \ $(NULL) openbsc_HEADERS = \ diff --git a/openbsc/include/openbsc/xsc.h b/openbsc/include/openbsc/xsc.h new file mode 100644 index 0000000..6f70f09 --- /dev/null +++ b/openbsc/include/openbsc/xsc.h @@ -0,0 +1 @@ +#pragma once diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am index 272292a..df95f94 100644 --- a/openbsc/src/Makefile.am +++ b/openbsc/src/Makefile.am @@ -27,6 +27,7 @@ libmsc \ libtrau \ libfilter \ + libxsc \ $(NULL) # Conditional Libraries diff --git a/openbsc/src/libxsc/Makefile.am b/openbsc/src/libxsc/Makefile.am new file mode 100644 index 0000000..c42ae20 --- /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 0000000..141179b --- /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 at 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 0000000..141179b --- /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 at 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/>. + * + */ -- To view, visit https://gerrit.osmocom.org/1123 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If34e2bd38a099d0799238337468d56e0305ab8ae Gerrit-PatchSet: 1 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>