diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gsmd/event.h | 8 | ||||
-rw-r--r-- | include/gsmd/sms.h | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/gsmd/event.h b/include/gsmd/event.h index 395c488..829b0fa 100644 --- a/include/gsmd/event.h +++ b/include/gsmd/event.h @@ -53,8 +53,14 @@ enum gsmd_call_type { __NUM_GSMD_CALL }; +/* Chapter 7.2 */ enum gsmd_netreg_state { - GSMD_NETREG_NONE = 0, + GSMD_NETREG_UNREG = 0, + GSMD_NETREG_REG_HOME, + GSMD_NETREG_UNREG_BUSY, + GSMD_NETREG_DENIED, + GSMD_NETREG_UNKNOWN, + GSMD_NETREG_REG_ROAMING, __NUM_GSMD_NETREG }; diff --git a/include/gsmd/sms.h b/include/gsmd/sms.h index f4def25..b48ce5d 100644 --- a/include/gsmd/sms.h +++ b/include/gsmd/sms.h @@ -6,6 +6,7 @@ #include <gsmd/gsmd.h> int sms_cb_init(struct gsmd *gsmd); +int sms_cb_network_init(struct gsmd *gsmd); #define MAX_PDU_SIZE 180 int sms_pdu_make_smssubmit(char *dest, const struct gsmd_sms_submit *src); |