#include "technology.h"
#include "data_manager.h"
-#include "commands.h"
#include "dbus_helpers.h"
#include "input.h"
+#include "commands.h"
#define MANDATORY_ARGS 3
if (path != NULL && *path != '\0')
path++;
+ __connmanctl_save_rl();
+
if (dbus_message_is_signal(message, "net.connman.Manager",
"ServicesChanged") == TRUE) {
__connmanctl_dbus_print(&iter, "", " = ", " = ");
fprintf(stdout, "\n");
+ __connmanctl_redraw_rl();
+
return DBUS_HANDLER_RESULT_HANDLED;
}
#include <errno.h>
#include <glib.h>
+#include "input.h"
#include "dbus_helpers.h"
#define TIMEOUT 60000
DBusMessage *reply;
DBusMessageIter iter;
+ __connmanctl_save_rl();
+
reply = dbus_pending_call_steal_reply(call);
if (dbus_message_get_type(reply) == DBUS_MESSAGE_TYPE_ERROR) {
DBusError err;
callback->cb(&iter, NULL, callback->user_data);
end:
+ __connmanctl_redraw_rl();
+ if (__connmanctl_is_interactive() == false)
+ __connmanctl_quit();
+
g_free(callback);
dbus_message_unref(reply);
}