summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/usock.h11
-rw-r--r--include/libgsmd/misc.h6
2 files changed, 17 insertions, 0 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index ce5c25e..0f9f05c 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -70,6 +70,11 @@ enum gsmd_msg_network {
GSMD_NETWORK_OPER_LIST = 6,
GSMD_NETWORK_CIND_GET = 7,
GSMD_NETWORK_DEREGISTER = 8,
+ GSMD_NETWORK_GET_NUMBER = 9,
+ GSMD_NETWORK_PREF_LIST = 10,
+ GSMD_NETWORK_PREF_DEL = 11,
+ GSMD_NETWORK_PREF_ADD = 12,
+ GSMD_NETWORK_PREF_SPACE = 13,
};
enum gsmd_msg_sms {
@@ -458,6 +463,12 @@ struct gsmd_msg_oper {
gsmd_oper_numeric opname_num;
};
+struct gsmd_msg_prefoper {
+ int index;
+ int is_last;
+ char opname_longalpha[16];
+};
+
struct gsmd_msg_hdr {
u_int8_t version;
u_int8_t msg_type;
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 9988518..d673c31 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -62,6 +62,12 @@ enum lgsm_netreg_state {
extern int lgsm_get_netreg_state(struct lgsm_handle *lh,
enum lgsm_netreg_state *state);
+/* Preferred operator list management */
+extern int lgsm_prefoper_list(struct lgsm_handle *lh);
+extern int lgsm_prefoper_delete(struct lgsm_handle *lh, int index);
+extern int lgsm_prefoper_add(struct lgsm_handle *lh, gsmd_oper_numeric oper);
+extern int lgsm_prefoper_get_space(struct lgsm_handle *lh);
+
/* CLIP, CLIR, COLP, Call Forwarding, Call Waiting, Call Deflecting */
/* TBD */
personal git repositories of Harald Welte. Your mileage may vary