summaryrefslogtreecommitdiffstats
path: root/src/pop3/pop3-commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pop3/pop3-commands.h')
-rw-r--r--src/pop3/pop3-commands.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pop3/pop3-commands.h b/src/pop3/pop3-commands.h
new file mode 100644
index 0000000..37dd229
--- /dev/null
+++ b/src/pop3/pop3-commands.h
@@ -0,0 +1,13 @@
+#ifndef POP3_COMMANDS_H
+#define POP3_COMMANDS_H
+
+struct pop3_command {
+ const char *name;
+ int (*func)(struct client *client, const char *args);
+};
+
+const struct pop3_command *pop3_command_find(const char *name);
+int client_command_execute(struct client *client,
+ const struct pop3_command *cmd, const char *args);
+
+#endif