summaryrefslogtreecommitdiffstats
path: root/src/core/masks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/masks.h')
-rw-r--r--src/core/masks.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/masks.h b/src/core/masks.h
new file mode 100644
index 0000000..e3a0437
--- /dev/null
+++ b/src/core/masks.h
@@ -0,0 +1,11 @@
+#ifndef IRSSI_CORE_MASKS_H
+#define IRSSI_CORE_MASKS_H
+
+int mask_match(SERVER_REC *server, const char *mask,
+ const char *nick, const char *user, const char *host);
+int mask_match_address(SERVER_REC *server, const char *mask,
+ const char *nick, const char *address);
+int masks_match(SERVER_REC *server, const char *masks,
+ const char *nick, const char *address);
+
+#endif