From 763b42a92a7c60f931a9c7a3130f85c7080bee07 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 29 Dec 2010 11:07:22 +0100 Subject: subscr: Dump the pending requests to help with debugging state. --- openbsc/include/openbsc/gsm_subscriber.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/include/openbsc/gsm_subscriber.h') 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); -- cgit v1.2.3