summaryrefslogtreecommitdiff
path: root/src/irc/flood/autoignore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/flood/autoignore.h')
-rw-r--r--src/irc/flood/autoignore.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/irc/flood/autoignore.h b/src/irc/flood/autoignore.h
new file mode 100644
index 00000000..efa01d27
--- /dev/null
+++ b/src/irc/flood/autoignore.h
@@ -0,0 +1,18 @@
+#ifndef __AUTOIGNORE_H
+#define __AUTOIGNORE_H
+
+typedef struct {
+ char *nick;
+ int timeleft;
+ int level;
+} AUTOIGNORE_REC;
+
+GSList *server_autoignores(IRC_SERVER_REC *server);
+
+void autoignore_add(IRC_SERVER_REC *server, const char *nick, int level);
+int autoignore_remove(IRC_SERVER_REC *server, const char *mask, int level);
+
+void autoignore_init(void);
+void autoignore_deinit(void);
+
+#endif