summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-commands.h')
-rw-r--r--src/irc/core/irc-commands.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/irc/core/irc-commands.h b/src/irc/core/irc-commands.h
new file mode 100644
index 00000000..6d4535a0
--- /dev/null
+++ b/src/irc/core/irc-commands.h
@@ -0,0 +1,8 @@
+#ifndef __IRC_COMMANDS_H
+#define __IRC_COMMANDS_H
+
+/* `optlist' should contain only one key - the server tag.
+ returns NULL if there was unknown -option */
+IRC_SERVER_REC *irccmd_options_get_server(GHashTable *optlist, IRC_SERVER_REC *defserver);
+
+#endif