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
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user