diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-29 11:07:22 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-06 14:52:52 +0100 |
commit | 763b42a92a7c60f931a9c7a3130f85c7080bee07 (patch) | |
tree | 4994783a1c4346316b9df36042d782e8ee1ce300 /openbsc/include | |
parent | 68c3bf6de887463eb5bbc94594f28b22ab2f349f (diff) |
subscr: Dump the pending requests to help with debugging state.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_subscriber.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h index 134dee4f3..6971bbf1f 100644 --- a/openbsc/include/openbsc/gsm_subscriber.h +++ b/openbsc/include/openbsc/gsm_subscriber.h @@ -16,6 +16,8 @@ #define GSM_SUBSCRIBER_FIRST_CONTACT 0x00000001 #define tmsi_from_string(str) strtoul(str, NULL, 10) +struct vty; + struct gsm_equipment { long long unsigned int id; char imei[GSM_IMEI_LENGTH]; @@ -90,6 +92,7 @@ struct gsm_subscriber *subscr_active_by_imsi(struct gsm_network *net, int subscr_pending_requests(struct gsm_subscriber *subscr); int subscr_pending_clear(struct gsm_subscriber *subscr); +int subscr_pending_dump(struct gsm_subscriber *subscr, struct vty *vty); char *subscr_name(struct gsm_subscriber *subscr); |