diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 01:44:52 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 01:44:52 +0000 |
commit | b68417a643ac97834dea518ee79dc2c4a697a93f (patch) | |
tree | f8bc0d7faa42c57145e7195671fc5583ff219b23 /src/command.h | |
parent | f74991b9fdd50310c3984d69bc5ddcf327d16c07 (diff) | |
download | mpd-b68417a643ac97834dea518ee79dc2c4a697a93f.tar.gz mpd-b68417a643ac97834dea518ee79dc2c4a697a93f.tar.xz mpd-b68417a643ac97834dea518ee79dc2c4a697a93f.zip |
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 '')
-rw-r--r-- | src/command.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h index 247bce573..68d6f4a36 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(); |