diff options
Diffstat (limited to 'src/libgsmd')
-rw-r--r-- | src/libgsmd/libgsmd_sms.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libgsmd/libgsmd_sms.c b/src/libgsmd/libgsmd_sms.c index 29b92fb..72723c0 100644 --- a/src/libgsmd/libgsmd_sms.c +++ b/src/libgsmd/libgsmd_sms.c @@ -318,3 +318,13 @@ int unpacking_UCS2_82(char *src, char *dest) { return 0; } + +int lgsm_cb_subscribe(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_CB, GSMD_CB_SUBSCRIBE); +} + +int lgsm_cb_unsubscribe(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_CB, GSMD_CB_UNSUBSCRIBE); +} |