#include <signal.h>
#include <time.h>
#include "../general/arguments.h"
#include "../general/log.h"
#include "../general/util.h"
#include "../general/misc.h"
#include "server.h"
#include "errno.h"
#include <fstream>
#include "../general/general.h"
#include "chapter.h"
#include "aging.h"
#include "item.h"
#include "person.h"
#include "race.h"
#include "background.h"
#include "job.h"
#include "action.h"
Defines | |
#define | DEBUG_ROUTINE "server" |
#define | CENTRAL_SERVER "127.0.0.1" |
#define | setsig(c, s) |
#define | slen_x 7 |
#define | slen_y 5 |
#define | dfile(filen) (filename("~/")+filen) |
#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 |
#define arg_sig | ( | t, | |||
a, | |||||
s | ) |
Value:
{sigc::signal<void, std::string> s##_signal; \ s##_signal.connect(sigc::mem_fun(serv, &server::s)); \ arg_add(t, "", "", a, s##_signal);}
#define CENTRAL_SERVER "127.0.0.1" |
#define DEBUG_ROUTINE "server" |
#define dfile | ( | filen | ) | (filename("~/")+filen) |
#define setsig | ( | c, | |||
s | ) |
Value:
{sigc::signal<void, std::string> s##_signal; \ s##_signal.connect(sigc::mem_fun(*this, &server::s)); \ commands[c]=s##_signal;}
#define slen_x 7 |
#define slen_y 5 |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
void sig_int | ( | int | signum | ) |
void sig_pipe | ( | int | signum | ) |
bool stopped = false |
Generated on Tue Jan 1 17:30:01 2008 for server/server.cc File Reference by
Visit the project page on