From 693a26b356905deef984f2f452c48346c4901395 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Tue, 31 Mar 2015 13:25:06 -0500 Subject: added user struct to irc.h --- irc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/irc.h b/irc.h index 231cd84..d6a57f1 100644 --- a/irc.h +++ b/irc.h @@ -1,4 +1,11 @@ +struct user { + char *nick; + char *user; + char *host; +}; + int runit(int fd,void (*line_handler)(),void (*extra_handler)()) ; +int runem(int *fd,void (*line_handler)(),void (*extra_handler)()) ; int ircConnect(char *serv,char *port,char *nick,char *user) ; int serverConnect(char *serv,char *port) ; char **line_cutter(int fd,char *line,struct user *user) ; -- cgit v1.2.3