/***************************************************************************
                          typedef.h  -  description
                             -------------------
    begin                : Mon Nov 24 2003
    copyright            : (C) 2003 by Wei Zheng
    email                : v_zheng@yahoo.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

typedef struct _post_request_parameters post_request_parameters;
struct _post_request_parameters
{
  char url[256];
  char action[5];
  char server[5];
  char ip[32];
  char sessionid[32];
};

typedef struct _userinfo userinfo;
struct _userinfo
{
  char hotmail[50];
  char nickname[100];
  char ip[15];
  char port[5];
  char sessionid[9];
  char authid[17];
  char username[30];
  char proxyaddr[30];
  int  proxyport;
  post_request_parameters prp;
};

typedef struct _online_userinfo online_userinfo;
struct _online_userinfo
{
  userinfo * userinfop;
  int userinfoid;
  pid_t pid;
  struct _online_userinfo * next;
};

#define MESGSIZE 1536

