aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_init.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-24 10:19:04 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-24 10:19:04 +0100
commita21a96f9870cbbdd5561952b8d606fc423808fa9 (patch)
treed75c70d782f0385b9bf374421112d15724f80ba3 /openbsc/src/bsc_init.c
parentb3121c5b3f1f76c742ce36b75951ef8a3fde46ae (diff)
Move the copyright and version header to bsc_init.c
The copyright/version will be used from within the VTY code which might be linked into binaries even when bsc_hack.c is not linked into it.
Diffstat (limited to 'openbsc/src/bsc_init.c')
-rw-r--r--openbsc/src/bsc_init.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index f3436621f..678672026 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -33,11 +33,25 @@
#include <openbsc/signal.h>
#include <osmocore/talloc.h>
+#include "../bscconfig.h"
+
+
/* global pointer to the gsm network data structure */
extern struct gsm_network *bsc_gsmnet;
static void patch_nm_tables(struct gsm_bts *bts);
+
+const char *openbsc_version = "OpenBSC " PACKAGE_VERSION;
+const char *openbsc_copyright =
+ "Copyright (C) 2008-2010 Harald Welte, Holger Freyther\n"
+ "Contributions by Daniel Willmann, Jan Lübbe,Stefan Schmidt\n"
+ "Dieter Spaar, Andreas Eversberg\n\n"
+ "License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\n"
+ "This is free software: you are free to change and redistribute it.\n"
+ "There is NO WARRANTY, to the extent permitted by law.\n";
+
+
/* The following definitions are for OM and NM packets that we cannot yet
* generate by code but we just pass on */