summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-11-21 18:24:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-11-21 18:24:51 +0000
commit7c7afe9f543dc4ed997f0a65df84764601848973 (patch)
treed3c7891f22a555041cd312d94d70c93ebd25c389 /src
parentdc8bd638e395eada4cdea03c5f1a1c28d506f003 (diff)
downloadirssi-7c7afe9f543dc4ed997f0a65df84764601848973.zip
completion_msg() is now public
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3019 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/chat-completion.c2
-rw-r--r--src/fe-common/core/chat-completion.h2
2 files changed, 3 insertions, 1 deletions
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);