Mercurial > pidgin
diff plugins/icq/icqlib.h @ 1309:0a766047b4fd
[gaim-migrate @ 1319]
Yay, new icqlib
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 19 Dec 2000 10:08:29 +0000 |
parents | 201ec77f3a60 |
children | 4c510ca3563f |
line wrap: on
line diff
--- a/plugins/icq/icqlib.h Tue Dec 19 08:37:12 2000 +0000 +++ b/plugins/icq/icqlib.h Tue Dec 19 10:08:29 2000 +0000 @@ -42,4 +42,30 @@ #endif /* strdup */ #endif /* _WIN32 */ +/** Private ICQLINK data. These are members that are internal to + * icqlib, but must be contained in the per-connection ICQLINK + * struct. + */ +typedef struct icq_link_private { + + void *icq_ContactList; + + /* 65536 seqs max, 1 bit per seq -> 65536/8 = 8192 */ + unsigned char icq_UDPServMess[8192]; + + unsigned short icq_UDPSeqNum1, icq_UDPSeqNum2; + unsigned long icq_UDPSession; + + void *icq_UDPQueue; + + int icq_TCPSequence; + void *icq_TCPLinks; + void *icq_ChatSessions; + void *icq_FileSessions; + int TCP_maxfd; + fd_set TCP_readfds; + fd_set TCP_writefds; + +} ICQLINK_private; + #endif /* _ICQLIB_H_ */