summaryrefslogtreecommitdiff
path: root/chat/irssi-icb/patches/patch-an
blob: 331c543ef13e8554bf17027de61e2d142df36a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-an,v 1.1 2010/08/10 20:26:36 sketch Exp $

--- /dev/null	2009-11-03 03:54:19.098165668 +0100
+++ src/core/icb-nicklist.h	2010-05-21 13:03:14.236221682 +0200
@@ -0,0 +1,33 @@
+/*
+ icb-nicklist.h : irssi
+
+    Copyright (C) 2010 Jonathan Perkin
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#ifndef __ICB_NICKLIST_H
+#define __ICB_NICKLIST_H
+
+#include "nicklist.h"
+
+/* Add new nick to list */
+NICK_REC *icb_nicklist_insert(ICB_CHANNEL_REC *channel, const char *nick,
+			      int mod);
+
+void icb_nicklist_init(void);
+void icb_nicklist_deinit(void);
+
+#endif