aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/signal.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-02-16 19:07:18 +0000
committerHolger Freyther <zecke@selfish.org>2009-02-16 19:07:18 +0000
commit9b177760bbe6195793c9ac06de928890468b9656 (patch)
tree268b859cf37d52f3b3775617b1eff816cf57406b /include/openbsc/signal.h
parent0a23990be8444a3c5b7c9cd3f0f391638ef7354e (diff)
[sms] Send a notification on incoming SMS
Further tests of the signal class. Send a notification on incoming SMS.
Diffstat (limited to 'include/openbsc/signal.h')
-rw-r--r--include/openbsc/signal.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/openbsc/signal.h b/include/openbsc/signal.h
index eb4fc8d8f..e53c19429 100644
--- a/include/openbsc/signal.h
+++ b/include/openbsc/signal.h
@@ -28,7 +28,8 @@
/*
* Signalling areas
*/
-#define S_PAGING 0x0001
+#define S_PAGING 0x0001
+#define S_SMS 0x0002
struct signal_data {
@@ -46,6 +47,12 @@ struct paging_signal_data {
struct gsm_lchan *lchan;
};
+struct sms_signal_data {
+ struct signal_data data;
+
+ struct sms_submit *sms;
+};
+
/* Management */
void register_signal_handler(int areas, int (*sig)(struct signal_data *, void *data), void *data);