return 0;
}
-int commands(DBusConnection *dbus_conn, char *argv[], int argc)
+int __connmanctl_commands(DBusConnection *dbus_conn, char *argv[], int argc)
{
int i, result;
#include <dbus/dbus.h>
-int commands(DBusConnection *connection, char *argv[], int argc);
+int __connmanctl_commands(DBusConnection *connection, char *argv[], int argc);
args = g_strsplit(input, " ", 0);
num = g_strv_length(args);
- err = commands(connection, args, num);
+ err = __connmanctl_commands(connection, args, num);
g_strfreev(args);
if (strcmp(argv[1], "--help") == 0 ||
strcmp(argv[1], "-h") == 0)
- err = commands(connection, help, 1);
+ err = __connmanctl_commands(connection, help, 1);
else
- err = commands(connection, argv + 1, argc -1);
+ err = __connmanctl_commands(connection, argv + 1,
+ argc -1);
}
if (err == -EINPROGRESS) {