aboutsummaryrefslogtreecommitdiff
path: root/src/mm-context.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-11-09 00:36:13 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-11-14 22:55:52 +0100
commite112896994454d357861619c7db87fcea8b2d2fb (patch)
treeef820a8944c93b71a40144eca0df559b757ea640 /src/mm-context.h
parent6e642418bb36c627b9ad6185b36f78216ecaccfe (diff)
base-manager: allow forcing the testing without udev
Even if udev support is really built and available. This is extremely useful to test the udev-less setup without fully recompiling the whole daemon. E.g.: the daemon can be run like this: $ sudo /usr/sbin/ModemManager --debug --test-no-udev And then, the kernel events may be reported using mmcli like this: $ sudo mmcli --report-kernel-event-auto-scan
Diffstat (limited to 'src/mm-context.h')
-rw-r--r--src/mm-context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-context.h b/src/mm-context.h
index ff5f1343..1d02e296 100644
--- a/src/mm-context.h
+++ b/src/mm-context.h
@@ -46,5 +46,8 @@ gboolean mm_context_get_log_relative_timestamps (void);
gboolean mm_context_get_test_session (void);
gboolean mm_context_get_test_enable (void);
const gchar *mm_context_get_test_plugin_dir (void);
+#if defined WITH_UDEV
+gboolean mm_context_get_test_no_udev (void);
+#endif
#endif /* MM_CONTEXT_H */