Proof of concept browser + embedded web server communicating via XMLHttpRequest.

Compile with "gcc -Wall `pkg-config --cflags --libs gtk+-2.0 webkit-1.0 libmicrohttpd` -o launcher main.c server.c"
Requires GTK, libwebkit and libmicrohttpd.
This commit is contained in:
Matthew Bowra-Dean
2010-11-24 00:49:38 +13:00
committed by Chris Forbes
parent c9bd3e8a1f
commit a561dd376e
4 changed files with 194 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
/*
* Copyright 2007-2010 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see LICENSE.
*/
int server_init(int);
void server_teardown(void);