#include "control_commands.h" #include #include void control_commands_handle(GSocketConnection *connection, const gchar *cmd) { gchar *args = strchr(cmd, ' '); if(args != NULL) { *args = '\0'; args++; } g_debug("handling command %s with arguments %s", cmd, args); }