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/OpenBSC@lists.osmocom.org/.
Pablo Neira Ayuso pablo at gnumonks.orgOn Thu, Apr 10, 2014 at 03:42:33PM +0200, Alvaro Neira Ayuso wrote: > diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c > new file mode 100644 > index 0000000..33c3fe6 > --- /dev/null > +++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c > @@ -0,0 +1,250 @@ > +/* (C) 2014 by sysmocom - s.f.m.c. GmbH > + * > + * All Rights Reserved > + * > + * Author: Alvaro Neira Ayuso <anayuso at sysmocom.de> > + * > + * 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 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/>. > + * > + */ > + > +#include <stdlib.h> > +#include <unistd.h> > +#include <errno.h> > +#include <stdint.h> > +#include <ctype.h> > +#include <sys/socket.h> > +#include <netinet/in.h> > +#include <arpa/inet.h> > + > +#include <osmocom/vty/vty.h> > +#include <osmocom/vty/command.h> > +#include <osmocom/vty/misc.h> > + > +#include <osmo-bts/logging.h> > + > +#include "sysmobts_misc.h" > +#include "sysmobts_mgr.h" > + > +static struct sbts2050_config_info *mgr_cfg = NULL; You don't need to initialize this variable, it's stored in the BSS so it's already set to zero.