summaryrefslogtreecommitdiff
path: root/control_commands.c
blob: f5fbc644b7609010fb40e2c611837d205f86a1f3 (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(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);
}