support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
committer: Tero Marttila <terom@fixme.fi>
#include <sys/types.h>
#define RENDER_PORT 6159
#define RENDER_PORT_NAME "6159"
#pragma pack(push)
#pragma pack(1)
struct render_cmd {
u_int8_t mode;
u_int32_t img_w;
u_int32_t img_h;
double x1;
double y1;
double x2;
double y2;
};
#pragma pack(pop)