aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
blob: 12dfcffe5590b8f636182bbc5f05a81ee573195f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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) ;
void irc_handler(struct shit *me,char *line);