Mercurial > pidgin.yaz
annotate plugins/icq/tcp.h @ 1531:e06dcc3025a9
[gaim-migrate @ 1541]
updates to icqlib; don't pay attention to exception; my patch for handling hangups. other minor details.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 04 Mar 2001 02:26:32 +0000 |
parents | 0a766047b4fd |
children | 8ed70631ed15 |
rev | line source |
---|---|
1152 | 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | |
3 #ifndef _ICQTCP_H | |
4 #define _ICQTCP_H | |
5 | |
6 #ifdef HAVE_CONFIG_H | |
7 #include <config.h> | |
8 #endif | |
9 | |
10 #include "icq.h" | |
11 #include "tcplink.h" | |
12 #include "util.h" | |
13 | |
14 /* initialize icq_TCPSocket and icq_TCPSocketAddress | |
15 * returns < 0 on failure */ | |
16 int icq_TCPInit(ICQLINK *link); | |
17 | |
18 /* close icq_TCPSocket, internal cleanup */ | |
19 void icq_TCPDone(ICQLINK *link); | |
20 | |
21 int icq_TCPProcessHello(icq_Packet *p, icq_TCPLink *plink); | |
22 void icq_TCPProcessPacket(icq_Packet *p, icq_TCPLink *plink); | |
23 void icq_TCPProcessChatPacket(icq_Packet *p, icq_TCPLink *plink); | |
24 void icq_TCPProcessFilePacket(icq_Packet *p, icq_TCPLink *plink); | |
25 | |
26 /* Debugging */ | |
27 /* trace packet process results */ | |
1309
0a766047b4fd
[gaim-migrate @ 1319]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
28 #undef TCP_PROCESS_TRACE |
1152 | 29 |
30 /* trace sent and received icq packets */ | |
1309
0a766047b4fd
[gaim-migrate @ 1319]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
31 #undef TCP_PACKET_TRACE |
1152 | 32 |
33 /* trace raw sent and received packet data */ | |
1309
0a766047b4fd
[gaim-migrate @ 1319]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1152
diff
changeset
|
34 #undef TCP_RAW_TRACE |
1152 | 35 |
36 /* trace recv buffer in tcplink.c*/ | |
37 #undef TCP_BUFFER_TRACE | |
38 | |
39 /* trace queueing operations in list.c */ | |
40 #undef TCP_QUEUE_TRACE | |
41 | |
42 #endif /* _ICQTCP_H */ |