1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00
Files
weechat/src/gui/gui-nicklist.h
T

42 lines
1.6 KiB
C

/*
* Copyright (c) 2003-2007 by FlashCode <flashcode@flashtux.org>
* See README for License detail, AUTHORS for developers list.
*
* 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_GUI_NICKLIST_H
#define __WEECHAT_GUI_NICKLIST_H 1
#include "gui-buffer.h"
/* nicklist functions */
extern struct t_gui_nick *gui_nicklist_search (struct t_gui_buffer *, char *);
extern struct t_gui_nick *gui_nicklist_add (struct t_gui_buffer *, char *,
int, int, char, int);
extern void gui_nicklist_update (struct t_gui_buffer *, struct t_gui_nick *,
char *, int, int, char, int);
extern void gui_nicklist_free (struct t_gui_buffer *, struct t_gui_nick *);
extern void gui_nicklist_free_all (struct t_gui_buffer *);
extern int gui_nicklist_remove (struct t_gui_buffer *, char *);
extern int gui_nicklist_get_max_length (struct t_gui_buffer *);
/* nicklist functions (GUI dependent) */
extern void gui_nicklist_draw (struct t_gui_buffer *, int);
#endif /* gui-nicklist.h */