#ifndef I_SERVER
#define I_SERVER

#include "global.h"
#include "notify.h"

typedef struct server *server_ptr;
struct server {
  unsigned short iochan;
  unsigned event_flag;
  struct iosb_type iosb;
  char server_name[40];
  char *redirect;
  char buffer[MAXBRK];
  char start[2 * MAXBRK + 5];
  unsigned reqidt;
  int connected;
  char nick[MAXNICKLEN+1];
  int away;
  unsigned *chan_list;
  notify_ptr notify_list, last_notify;
  server_ptr next;
};

#endif
