| 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
| 2 |
2 |
| 3 /* |
3 /* |
| |
4 * $Id: stdpackets.h 1987 2001-06-09 14:46:51Z warmenhoven $ |
| |
5 * |
| 4 * Copyright (C) 1998-2001, Denis V. Dmitrienko <denis@null.net> and |
6 * Copyright (C) 1998-2001, Denis V. Dmitrienko <denis@null.net> and |
| 5 * Bill Soudan <soudan@kde.org> |
7 * Bill Soudan <soudan@kde.org> |
| 6 * |
8 * |
| 7 * This program is free software; you can redistribute it and/or modify |
9 * This program is free software; you can redistribute it and/or modify |
| 8 * it under the terms of the GNU General Public License as published by |
10 * it under the terms of the GNU General Public License as published by |
| 80 icq_Packet *icq_TCPCreateStdPacket(icq_TCPLink *plink, WORD icq_TCPCommand, |
82 icq_Packet *icq_TCPCreateStdPacket(icq_TCPLink *plink, WORD icq_TCPCommand, |
| 81 WORD type, const char *msg, WORD status, WORD msg_command); |
83 WORD type, const char *msg, WORD status, WORD msg_command); |
| 82 icq_Packet *icq_TCPCreateMessagePacket(icq_TCPLink *plink, const char *message); |
84 icq_Packet *icq_TCPCreateMessagePacket(icq_TCPLink *plink, const char *message); |
| 83 icq_Packet *icq_TCPCreateURLPacket(icq_TCPLink *plink, const char *message, |
85 icq_Packet *icq_TCPCreateURLPacket(icq_TCPLink *plink, const char *message, |
| 84 const char *url); |
86 const char *url); |
| |
87 icq_Packet *icq_TCPCreateAwayReqPacket(icq_TCPLink *plink, WORD statusMode); |
| 85 icq_Packet *icq_TCPCreateChatReqPacket(icq_TCPLink *plink, const char *message); |
88 icq_Packet *icq_TCPCreateChatReqPacket(icq_TCPLink *plink, const char *message); |
| 86 icq_Packet *icq_TCPCreateFileReqPacket(icq_TCPLink *plink, |
89 icq_Packet *icq_TCPCreateFileReqPacket(icq_TCPLink *plink, |
| 87 const char *message, const char *filename, DWORD size); |
90 const char *message, const char *filename, DWORD size); |
| 88 void icq_TCPAppendSequence(icq_Link *icqlink, icq_Packet *p); |
91 void icq_TCPAppendSequence(icq_Link *icqlink, icq_Packet *p); |
| 89 void icq_TCPAppendSequenceN(icq_Link *icqlink, icq_Packet *p, DWORD seq); |
92 void icq_TCPAppendSequenceN(icq_Link *icqlink, icq_Packet *p, DWORD seq); |