summaryrefslogtreecommitdiff
path: root/control_commands.c
blob: 1ee261c0eccb5e768599bd6920be1faf33efc5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "control_commands.h"

#include <glib.h>
#include <string.h>

void control_commands_handle(const gchar *cmd) {
	gchar *args = strchr(cmd, ' ');
	if(args != NULL) {
		*args = '\0';
		args++;
	}

	g_debug("handling command %s with arguments %s", cmd, args);
}