aboutsummaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-12 01:44:52 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-12 01:44:52 +0000
commitb68417a643ac97834dea518ee79dc2c4a697a93f (patch)
treef8bc0d7faa42c57145e7195671fc5583ff219b23 /src/command.h
parentf74991b9fdd50310c3984d69bc5ddcf327d16c07 (diff)
cleanup interface between interface.[ch] and command.[ch]
primarily move all buffer2array stuff from interface.c to command.c and write a new command function explicitly for dealing with commandLists git-svn-id: https://svn.musicpd.org/mpd/trunk@701 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h
index 247bce57..68d6f4a3 100644
--- a/src/command.h
+++ b/src/command.h
@@ -31,8 +31,10 @@
#define COMMAND_RESPOND_ERROR "ACK"
#define COMMAND_RESPOND_OK "OK"
-int processCommand(FILE * fp, unsigned int * permission, int argArrayLength,
- char ** argArray, ListNode * commandNode);
+int proccessListOfCommands(FILE * fp, int * permission, int * expired,
+ List * list);
+
+int processCommand(FILE * fp, unsigned int * permission, char * commandString);
void initCommands();