render_net.h
author Tero Marttila <terom@fixme.fi>
Mon, 07 Jul 2008 04:36:03 +0300
changeset 27 1e79b4cc8f1b
parent 26 6d615203d963
permissions -rw-r--r--
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)