Mercurial > pidgin
diff plugins/icq/stdpackets.c @ 1977:7b3f1eb1ef7d
[gaim-migrate @ 1987]
updated icqlib. fixed import dialog (watch debug window for errors). adam's (not mid's) patch for oscar.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 09 Jun 2001 14:46:51 +0000 |
parents | 8ed70631ed15 |
children |
line wrap: on
line diff
--- a/plugins/icq/stdpackets.c Fri Jun 08 23:17:17 2001 +0000 +++ b/plugins/icq/stdpackets.c Sat Jun 09 14:46:51 2001 +0000 @@ -1,6 +1,8 @@ /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* + * $Id: stdpackets.c 1987 2001-06-09 14:46:51Z warmenhoven $ + * * Copyright (C) 1998-2001, Denis V. Dmitrienko <denis@null.net> and * Bill Soudan <soudan@kde.org> * @@ -97,6 +99,19 @@ return p; } +icq_Packet *icq_TCPCreateAwayReqPacket(icq_TCPLink *plink, WORD statusMode) +{ + icq_Packet *p=icq_TCPCreateStdPacket( + plink, + ICQ_TCP_MESSAGE, + statusMode, //one of the icq_tcp_msg_read... constants + "", + 0, /* status */ + 0); + + return p; +} + icq_Packet *icq_TCPCreateURLPacket(icq_TCPLink *plink, const char *message, const char *url) {