aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 19:17:25 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:17:25 +0200
commit1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80 (patch)
treeb8d8a1e24cb992198fc0566f37686efad20f2d22 /src/command.h
parent2835e376842facea7b7c145889ac64d413377b6c (diff)
downloadmpd-1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80.tar.gz
mpd-1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80.tar.xz
mpd-1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80.zip
command: use client_[gs]et_permission()
Don't pass a pointer to client->permission to processCommand(), better let the code in command.c use the new permission getter/setter functions.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/command.h b/src/command.h
index 2b4f1fee7..13ec7df63 100644
--- a/src/command.h
+++ b/src/command.h
@@ -29,11 +29,10 @@
struct client;
-int processListOfCommands(struct client *client, int *permission,
+int processListOfCommands(struct client *client,
int listOK, struct strnode *list);
-int processCommand(struct client *client,
- int *permission, char *commandString);
+int processCommand(struct client *client, char *commandString);
void initCommands(void);