#endif
#include "ircd_defs.h"
-#include "linebuf.h"
#include "channel.h"
#include "res.h"
#include "snomask.h"
#include "irc_string.h"
#include "sprintf_irc.h"
#include "ircd.h"
-#include "commio.h"
/* other structs */
struct Blacklist;
conf_item_t *att_conf; /* attached conf */
struct server_conf *att_sconf;
- struct irc_sockaddr_storage ip;
+ struct rb_sockaddr_storage ip;
time_t last_nick_change;
int number_of_nick_changes;
char *mangledhost; /* non-NULL if host mangling module loaded and
applicable to this client */
+
+ struct rb_sockaddr_storage *lip; /* alloc before auth/freed after auth */
};
struct PreClient
extern client_t *find_named_person(const char *);
extern client_t *next_client(struct Client *, const char *);
-#define accept_message(s, t) ((s) == (t) || (dlinkFind((s), &((t)->localClient->allow_list))))
+#define accept_message(s, t) ((s) == (t) || (rb_dlinkFind((s), &((t)->localClient->allow_list))))
extern void del_all_accepts(struct Client *client_p);
extern void dead_link(struct Client *client_p);
extern void init_uid(void);
extern char *generate_uid(void);
+void allocate_away(struct Client *);\r
+void free_away(struct Client *);
+
#endif /* INCLUDED_client_h */