lpbotctl.c File Reference

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <netdb.h>
#include <errno.h>
#include <pwd.h>
#include <glib.h>
#include "lpbot.h"

Go to the source code of this file.

Defines

#define LP_HOST   "localhost"
#define LP_PORT   1100

Functions

int srv_handler (GIOChannel *source, GIOCondition condition, gpointer data)
int kbd_handler (GIOChannel *source, GIOCondition condition, gpointer data)
int main (int argv, char **argc)

Variables

lp_serverserver
lp_serverkbd


Define Documentation

#define LP_HOST   "localhost"

Definition at line 16 of file lpbotctl.c.

Referenced by main().

#define LP_PORT   1100

Definition at line 17 of file lpbotctl.c.

Referenced by main().


Variable Documentation

lp_server * kbd

Definition at line 19 of file lpbotctl.c.

lp_server* server

Definition at line 19 of file lpbotctl.c.

Referenced by lp_find_server(), lp_handler(), lp_listen(), lp_ping(), parseServer(), and remind().


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