diff options
author | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 13:25:06 -0500 |
---|---|---|
committer | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 13:25:06 -0500 |
commit | 693a26b356905deef984f2f452c48346c4901395 (patch) | |
tree | 554d4ec93b8fd908431a244fe8f134707227abc3 | |
parent | caf201027d08049dc12490349b9ebfd7e7a242f4 (diff) | |
download | libirc-693a26b356905deef984f2f452c48346c4901395.tar.gz libirc-693a26b356905deef984f2f452c48346c4901395.zip |
added user struct to irc.h
-rw-r--r-- | irc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) ; |