lib.h

Go to the documentation of this file.
00001 typedef struct __lp_msg
00002 {
00003         char *raw;
00004         char *from;
00005         char *to;
00006         char *cmd;
00007         GList *params;
00008 } lp_msg;
00009 
00010 int lp_disconnect(lp_server *server, char *msg);
00011 int lp_reconnect(lp_server *server, char *msg);
00012 int lp_connect(lp_server *server);
00013 int lp_send(lp_server* server, char *fmt, ...);
00014 int lp_resolve(char *server, struct hostent *host);
00015 int lp_create_sock();
00016 lp_user *lp_find_user(char *who);
00017 int lp_check_rss(gpointer data);
00018 int lp_serve();
00019 
00020 #define IRC_LINE_LENGHT 512
00021 #define sockerr_again() (errno == EINPROGRESS || errno == EINTR)
00022 
00023 extern lp_config *config;

Generated on Mon May 19 15:36:55 2008 for lpbot by  doxygen 1.5.4