chatserver/chatserver.cc File Reference

#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 Documentation

#define arg_sig ( t,
a,
 ) 

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,
 ) 

Value:

{sigc::signal<void, std::string> s##_signal; \
    s##_signal.connect(sigc::mem_fun(*this, &chatserver::s)); \
    commands[c]=s##_signal;}


Function Documentation

int main ( int  argc,
char *  argv[] 
)

void sig_int ( int  signum  ) 

void sig_pipe ( int  signum  ) 


Variable Documentation

bool stopped = false

Is this server asked to stop?



Generated on Tue Jan 1 17:30:01 2008 for chatserver/chatserver.cc File Reference by  doxygen   Visit the project page on SourceForge.net Logo