Debian Codegraph @

server/fb-server.c_tmp

raw
1 /*******************************************************************************
2 *
3 * Copyright (c) 2004-2010 Guillaume Cottenceau
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2, as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 *
18 ******************************************************************************/
19
20 #include <stdio.h>
21 #include "net.h"
22 #include "game.h"
23 #include "tools.h"
24
25 int main(int argc, char **argv)
26 {
27 printf("Frozen-Bubble server version " VERSION " (protocol version %d.%d)\n", proto_major, proto_minor);
28 printf("\n");
29 printf("Copyright (c) 2004-2010 Guillaume Cottenceau.\n");
30 printf("This is free software; see the source for copying conditions. There is NO\n");
31 printf("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
32 printf("\n");
33
34 create_server(argc, argv);
35 daemonize();
36 connections_manager();
37
38 return 0;
39 }