lib.c File Reference

#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <poll.h>
#include <errno.h>
#include <glib-object.h>
#include "lpbot.h"

Go to the source code of this file.

Functions

int lp_resolve (char *server, struct hostent *host)
int lp_create_sock ()
int lp_send (lp_server *server, char *fmt,...)
void lp_dump_msg (lp_msg *msg)
lp_msglp_parse (char *str)
void lp_msg_free (lp_msg *msg)
int lp_ping (gpointer data)
int lp_check_rss (gpointer data)
char * lp_to (lp_server *server, lp_msg *msg)
int lp_identified (char *who)
lp_userlp_find_user (char *who)
int lp_handle_command (lp_server *server, lp_msg *msg, GList *params)
int lp_handler (GIOChannel *source, GIOCondition condition, gpointer data)
int lp_connect (lp_server *server)
int lp_disconnect (lp_server *server, char *msg)
int lp_reconnect (lp_server *server, char *msg)
int lp_listen (GIOChannel *source, GIOCondition condition, gpointer data)
int lp_serve ()

Variables

lp_configconfig


Variable Documentation

lp_config* config

Definition at line 14 of file lib.c.

Referenced by lp_find_server(), main(), parseOptions(), parseRecord(), parseRss(), parseServer(), parseUser(), and saveRecords().


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