summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/sms.h2
-rw-r--r--include/gsmd/usock.h23
2 files changed, 18 insertions, 7 deletions
diff --git a/include/gsmd/sms.h b/include/gsmd/sms.h
index 145b585..ac16509 100644
--- a/include/gsmd/sms.h
+++ b/include/gsmd/sms.h
@@ -5,6 +5,8 @@
#include <gsmd/gsmd.h>
+int sms_cb_init(struct gsmd *gsmd);
+
int sms_pdu_make_smssubmit(char *dest, const struct gsmd_sms_submit *src);
int sms_pdu_to_msg(struct gsmd_sms_list *dst, const u_int8_t *src,
int pdulen, int len);
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index 631238a..f42a766 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -55,6 +55,11 @@ enum gsmd_msg_phone {
GSMD_PHONE_POWERDOWN = 2,
};
+enum gsmd_msg_cb {
+ GSMD_CB_SUBSCRIBE = 1,
+ GSMD_CB_UNSUBSCRIBE = 2,
+};
+
enum gsmd_msg_network {
GSMD_NETWORK_REGISTER = 1,
GSMD_NETWORK_SIGQ_GET = 2,
@@ -65,11 +70,15 @@ enum gsmd_msg_network {
};
enum gsmd_msg_sms {
- GSMD_SMS_LIST = 1,
- GSMD_SMS_READ = 2,
- GSMD_SMS_SEND = 3,
- GSMD_SMS_WRITE = 4,
- GSMD_SMS_DELETE = 5,
+ GSMD_SMS_LIST = 1,
+ GSMD_SMS_READ = 2,
+ GSMD_SMS_SEND = 3,
+ GSMD_SMS_WRITE = 4,
+ GSMD_SMS_DELETE = 5,
+ GSMD_SMS_GET_MSG_STORAGE = 6,
+ GSMD_SMS_SET_MSG_STORAGE = 7,
+ GSMD_SMS_GET_SERVICE_CENTRE = 8,
+ GSMD_SMS_SET_SERVICE_CENTRE = 9,
};
/* SMS stat from 3GPP TS 07.05, Clause 3.1 */
@@ -248,8 +257,8 @@ struct gsmd_evt_auxdata {
struct gsmd_addr addr;
} colp;
struct {
- /* TBD */
- struct gsmd_addr addr;
+ u_int8_t memtype;
+ int index;
} sms;
struct {
enum gsmd_pin_type type;
personal git repositories of Harald Welte. Your mileage may vary