summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/usock.h1
-rw-r--r--include/libgsmd/misc.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index ba50cbd..4ffe09d 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -142,6 +142,7 @@ enum gsmd_msg_phone {
GSMD_PHONE_VIB_ENABLE = 9,
GSMD_PHONE_VIB_DISABLE = 10,
GSMD_PHONE_POWER_STATUS = 11,
+ GSMD_PHONE_GSMD_LOGLEVEL= 12,
};
enum gsmd_msg_modem {
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 54e2940..ae266d7 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -80,4 +80,7 @@ extern int lgsm_phone_vibrator(struct lgsm_handle *lh, int enable);
/* Get Antenna Power status */
extern int lgsm_get_power_status(struct lgsm_handle *lh);
+/* Set the gsmd loglevel at runtime */
+extern int lgsm_set_gsmd_loglevel(struct lgsm_handle *lh, u_int8_t loglevel);
+
#endif
personal git repositories of Harald Welte. Your mileage may vary