#include <iostream>
#include "../general/communicate.h"
#include "../general/log.h"
#include "../general/arguments.h"
#include "../general/util.h"
#include "world.h"
#include "chatserver.h"
#include <errno.h>
#include <signal.h>
Defines | |
#define | DEBUG_ROUTINE "chatserver" |
#define | CENTRAL_SERVER "127.0.0.1" |
#define | setsig(c, s) |
#define | arg_sig(t, a, s) |
Functions | |
void | sig_int (int signum) |
void | sig_pipe (int signum) |
int | main (int argc, char *argv[]) |
Variables | |
bool | stopped = false |
Is this server asked to stop? |
#define arg_sig | ( | t, | |||
a, | |||||
s | ) |
Value:
{sigc::signal<void, std::string> s##_signal; \ s##_signal.connect(sigc::mem_fun(chatserv, &chatserver::s)); \ arg_add(t, "", "", a, s##_signal);}
#define CENTRAL_SERVER "127.0.0.1" |
#define DEBUG_ROUTINE "chatserver" |
#define setsig | ( | c, | |||
s | ) |
Value:
{sigc::signal<void, std::string> s##_signal; \ s##_signal.connect(sigc::mem_fun(*this, &chatserver::s)); \ commands[c]=s##_signal;}
int main | ( | int | argc, | |
char * | argv[] | |||
) |
void sig_int | ( | int | signum | ) |
void sig_pipe | ( | int | signum | ) |
Generated on Tue Jan 1 17:30:01 2008 for chatserver/chatserver.cc File Reference by
Visit the project page on