diff options
author | Jan Luebbe <jluebbe@debian.org> | 2009-08-12 10:12:52 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-08-12 21:03:00 +0200 |
commit | b0dfc31d7dc7ed533d5802b51dfb4cee92328d5c (patch) | |
tree | d7dd0266d8619ce113f5ac49983f399e32018b56 /openbsc/include/openbsc/gsm_subscriber.h | |
parent | 7f28cd559a95077c9a6a7c53d29dd983b93f41f7 (diff) |
flag new subscriber structs in memory and send a signal
Diffstat (limited to 'openbsc/include/openbsc/gsm_subscriber.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_subscriber.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h index 3efb20c03..0abf17ab7 100644 --- a/openbsc/include/openbsc/gsm_subscriber.h +++ b/openbsc/include/openbsc/gsm_subscriber.h @@ -11,6 +11,8 @@ #define GSM_NAME_LENGTH 128 #define GSM_EXTENSION_LENGTH 128 +#define GSM_SUBSCRIBER_FIRST_CONTACT 0x00000001 + struct gsm_equipment { long long unsigned int id; char imei[GSM_IMEI_LENGTH]; @@ -33,6 +35,9 @@ struct gsm_subscriber { char extension[GSM_EXTENSION_LENGTH]; int authorized; + /* Temporary field which is not stored in the DB/HLR */ + u_int32_t flags; + /* Every user can only have one equipment in use at any given * point in time */ struct gsm_equipment equipment; |