summaryrefslogtreecommitdiffstats
path: root/src/fe-common/core/fe-channels.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /src/fe-common/core/fe-channels.h
parentInitial commit. (diff)
downloadirssi-upstream.tar.xz
irssi-upstream.zip
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fe-common/core/fe-channels.h')
-rw-r--r--src/fe-common/core/fe-channels.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-channels.h b/src/fe-common/core/fe-channels.h
new file mode 100644
index 0000000..34b24ac
--- /dev/null
+++ b/src/fe-common/core/fe-channels.h
@@ -0,0 +1,16 @@
+#ifndef IRSSI_FE_COMMON_CORE_FE_CHANNELS_H
+#define IRSSI_FE_COMMON_CORE_FE_CHANNELS_H
+
+#define CHANNEL_NICKLIST_FLAG_OPS 0x01
+#define CHANNEL_NICKLIST_FLAG_HALFOPS 0x02
+#define CHANNEL_NICKLIST_FLAG_VOICES 0x04
+#define CHANNEL_NICKLIST_FLAG_NORMAL 0x08
+#define CHANNEL_NICKLIST_FLAG_ALL 0x0f
+#define CHANNEL_NICKLIST_FLAG_COUNT 0x10
+
+void fe_channels_nicklist(CHANNEL_REC *channel, int flags);
+
+void fe_channels_init(void);
+void fe_channels_deinit(void);
+
+#endif