aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_subscriber.h
diff options
context:
space:
mode:
authorJan Luebbe <jluebbe@lasnet.de>2008-12-27 22:33:34 +0000
committerJan Luebbe <jluebbe@lasnet.de>2008-12-27 22:33:34 +0000
commit391d86e0d5e7e6640ac7d7775104418b47f621c3 (patch)
tree7b56cca1ca943a42201fac0042f19a0a5db9d204 /include/openbsc/gsm_subscriber.h
parent1a4121882e6d8eb4e81633138d739a5fe7028d54 (diff)
add extension field to subscriber struct and name column to db
Diffstat (limited to 'include/openbsc/gsm_subscriber.h')
-rw-r--r--include/openbsc/gsm_subscriber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openbsc/gsm_subscriber.h b/include/openbsc/gsm_subscriber.h
index 0eb3654eb..97c7665e3 100644
--- a/include/openbsc/gsm_subscriber.h
+++ b/include/openbsc/gsm_subscriber.h
@@ -8,6 +8,7 @@
#define GSM_IMSI_LENGTH 17
#define GSM_TMSI_LENGTH 17
#define GSM_NAME_LENGTH 128
+#define GSM_EXTENSION_LENGTH 128
struct gsm_subscriber {
u_int64_t id;
@@ -15,6 +16,7 @@ struct gsm_subscriber {
char tmsi[GSM_TMSI_LENGTH];
u_int16_t lac;
char name[GSM_NAME_LENGTH];
+ char extension[GSM_EXTENSION_LENGTH];
int authorized;
};