view plugins/icq/contacts.h @ 1401:bf041349b11e

[gaim-migrate @ 1411] abliity to set accounts away independent of each other. also allows for all the other states (like in yahoo and icq). probably breaks MSN, so don't use it until rob fixes it. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 10 Jan 2001 22:15:24 +0000
parents 201ec77f3a60
children 4c510ca3563f
line wrap: on
line source

/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#ifndef _CONTACTS_H
#define _CONTACTS_H

#include "icq.h"
#include "icqtypes.h"

typedef struct icq_ContItem
{
  ICQLINK *icqlink;
  unsigned long uin;
  int vis_list;
  unsigned long remote_ip;
  unsigned long remote_real_ip;
  unsigned long remote_port;
  unsigned char tcp_flag;
} icq_ContactItem;  

icq_ContactItem *icq_ContactNew(ICQLINK *link);
void icq_ContactDelete(void *pcontact);
icq_ContactItem *icq_ContactFind(ICQLINK *link, DWORD cuin);
icq_ContactItem *icq_ContactGetFirst(ICQLINK *link);
icq_ContactItem *icq_ContactGetNext(icq_ContactItem *pcontact);

#endif /* _CONTACTS_H */