summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-03-31 13:25:06 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-03-31 13:25:06 -0500
commit693a26b356905deef984f2f452c48346c4901395 (patch)
tree554d4ec93b8fd908431a244fe8f134707227abc3
parentcaf201027d08049dc12490349b9ebfd7e7a242f4 (diff)
downloadlibirc-693a26b356905deef984f2f452c48346c4901395.tar.gz
libirc-693a26b356905deef984f2f452c48346c4901395.zip
added user struct to irc.h
-rw-r--r--irc.h7
1 files changed, 7 insertions, 0 deletions
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) ;