va_end(ap);
}
+void __connman_toggle_debug(void)
+{
+ if (debug_enabled == TRUE)
+ debug_enabled = FALSE;
+ else
+ debug_enabled = TRUE;
+}
+
int __connman_log_init(gboolean detach, gboolean debug)
{
int option = LOG_NDELAY | LOG_PID;
closelog();
}
+
+gboolean __connman_debug_enabled(void)
+{
+ return debug_enabled;
+}