aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h
index be935c8b5..030e03767 100644
--- a/src/command.h
+++ b/src/command.h
@@ -27,10 +27,14 @@
#define COMMAND_RETURN_CLOSE 20
#define COMMAND_MASTER_READY 30
-int processListOfCommands(int fd, int *permission, int *expired,
+struct client;
+
+int processListOfCommands(struct client *client,
+ int *permission, int *expired,
int listOK, struct strnode *list);
-int processCommand(int fd, int *permission, char *commandString);
+int processCommand(struct client *client,
+ int *permission, char *commandString);
void initCommands(void);