summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-masks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-masks.h')
-rw-r--r--src/irc/core/irc-masks.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/irc/core/irc-masks.h b/src/irc/core/irc-masks.h
new file mode 100644
index 00000000..680877c9
--- /dev/null
+++ b/src/irc/core/irc-masks.h
@@ -0,0 +1,13 @@
+#ifndef __IRC_MASKS_H
+#define __IRC_MASKS_H
+
+#include "masks.h"
+
+#define IRC_MASK_NICK 0x01
+#define IRC_MASK_USER 0x02
+#define IRC_MASK_HOST 0x04
+#define IRC_MASK_DOMAIN 0x08
+
+char *irc_get_mask(const char *nick, const char *address, int flags);
+
+#endif