1152
|
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
2 #ifndef _CONTACTS_H
|
|
3 #define _CONTACTS_H
|
|
4
|
|
5 #include "icq.h"
|
|
6 #include "icqtypes.h"
|
|
7
|
|
8 typedef struct icq_ContItem
|
|
9 {
|
|
10 ICQLINK *icqlink;
|
|
11 unsigned long uin;
|
|
12 int vis_list;
|
|
13 unsigned long remote_ip;
|
|
14 unsigned long remote_real_ip;
|
|
15 unsigned long remote_port;
|
|
16 unsigned char tcp_flag;
|
|
17 } icq_ContactItem;
|
|
18
|
|
19 icq_ContactItem *icq_ContactNew(ICQLINK *link);
|
|
20 void icq_ContactDelete(void *pcontact);
|
|
21 icq_ContactItem *icq_ContactFind(ICQLINK *link, DWORD cuin);
|
|
22 icq_ContactItem *icq_ContactGetFirst(ICQLINK *link);
|
|
23 icq_ContactItem *icq_ContactGetNext(icq_ContactItem *pcontact);
|
|
24
|
|
25 #endif /* _CONTACTS_H */
|