summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) ;