aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/db.h
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-08-16 10:40:10 +0200
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-08-16 10:40:10 +0200
commit026531ec924f954cfb2dc9df1082e60f861a2d11 (patch)
tree1f6eed0da450fe75205e9789b1e19498f6bca6f9 /openbsc/include/openbsc/db.h
parent6eef564e2dc44048685105331382039267e90bed (diff)
store all APDU's received from the MS in the database
This helps us to analyze data such as RRLP location information for later analysis.
Diffstat (limited to 'openbsc/include/openbsc/db.h')
-rw-r--r--openbsc/include/openbsc/db.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h
index 67436dfb3..07135937b 100644
--- a/openbsc/include/openbsc/db.h
+++ b/openbsc/include/openbsc/db.h
@@ -48,4 +48,9 @@ int db_sms_store(struct gsm_sms *sms);
struct gsm_sms *db_sms_get_unsent(struct gsm_network *net, int min_id);
struct gsm_sms *db_sms_get_unsent_for_subscr(struct gsm_subscriber *subscr);
int db_sms_mark_sent(struct gsm_sms *sms);
+
+/* APDU blob storage */
+int db_apdu_blob_store(struct gsm_subscriber *subscr,
+ u_int8_t apdu_id_flags, u_int8_t len,
+ u_int8_t *apdu);
#endif /* _DB_H */