From 7c7afe9f543dc4ed997f0a65df84764601848973 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 21 Nov 2002 18:24:51 +0000 Subject: [PATCH] completion_msg() is now public git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3019 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/chat-completion.c | 2 +- src/fe-common/core/chat-completion.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index f64dca65..803700de 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -299,7 +299,7 @@ static GList *convert_msglist(GSList *msglist) } /* Complete /MSG - if `find_server' is NULL, complete nicks from all servers */ -static GList *completion_msg(SERVER_REC *win_server, +GList *completion_msg(SERVER_REC *win_server, SERVER_REC *find_server, const char *nick, const char *prefix) { diff --git a/src/fe-common/core/chat-completion.h b/src/fe-common/core/chat-completion.h index ff6098b1..17c1408d 100644 --- a/src/fe-common/core/chat-completion.h +++ b/src/fe-common/core/chat-completion.h @@ -6,6 +6,8 @@ GList *completion_get_servers(const char *word); GList *completion_get_servertags(const char *word); GList *completion_get_channels(SERVER_REC *server, const char *word); GList *completion_get_aliases(const char *word); +GList *completion_msg(SERVER_REC *win_server, SERVER_REC *find_server, + const char *nick, const char *prefix); void completion_last_message_add(const char *nick); void completion_last_message_remove(const char *nick);