diff options
author | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 13:26:03 -0500 |
---|---|---|
committer | epochqwert <epoch@hacking.allowed.org> | 2015-03-31 13:26:03 -0500 |
commit | fea9534f13d5e0c603fd74f3f7f00ffe9094323c (patch) | |
tree | 6bb04f9d0ce0ae20e62b3c2818799a2fb154c71d | |
parent | 693a26b356905deef984f2f452c48346c4901395 (diff) | |
download | libirc-fea9534f13d5e0c603fd74f3f7f00ffe9094323c.tar.gz libirc-fea9534f13d5e0c603fd74f3f7f00ffe9094323c.zip |
took the struct out of libirc.c and make it include irc.h
-rw-r--r-- | libirc.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -8,6 +8,7 @@ #include <arpa/inet.h> #include <unistd.h> #include <sys/select.h> +#include "irc.h" //#define DEBUG "epoch" //nick or channel to send debug info to. #define CHUNK 4096 @@ -205,12 +206,6 @@ int ircConnect(char *serv,char *port,char *nick,char *user) { return fd; } -struct user { - char *nick; - char *user; - char *host; -}; - //this function mangles the input. //gotta free the returned pointer but not each pointer in the array. char **line_cutter(int fd,char *line,struct user *user) { |