summaryrefslogtreecommitdiff
path: root/include/libgsmd
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-15 11:07:12 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-15 11:07:12 +0100
commit3ec111676ff9e34058b3bf2e482a236f341c10eb (patch)
tree4a12ba3ccfd8ed8d15d0624ed0a41034043df9a4 /include/libgsmd
parent4c14b6eb4183905dea8f0a2cea695cebb174815f (diff)
Add run-time changing of gsmd log level via libgsm/libgsmd-tool
Diffstat (limited to 'include/libgsmd')
-rw-r--r--include/libgsmd/misc.h3
1 files changed, 3 insertions, 0 deletions
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