39#define TILE_PATH_MAX (256)
46#define RENDERD_SOCKET "/run/renderd/renderd.sock"
51#define RENDERD_HOST "localhost"
56#define RENDERD_PORT 7654
60#define XMLCONFIG_MAX 41
#define XMLCONFIG_MAX
Maximum buffer size (including NUL terminator) for map style names, MIME types, and options.
Definition protocol.h:60
protoCmd
Command opcodes exchanged over the mod_tile / renderd IPC wire protocol.
Definition protocol.h:65
@ cmdNotDone
Response from renderd indicating the request was dropped or the daemon is busy.
Definition protocol.h:75
@ cmdRenderBulk
Bulk/batch tile render request (e.g. from render_list).
Definition protocol.h:79
@ cmdRender
Standard interactive tile render request (expects cmdDone or cmdNotDone reply).
Definition protocol.h:69
@ cmdRenderLow
Low-priority interactive tile render request (e.g. expired tile served stale).
Definition protocol.h:81
@ cmdIgnore
No-op / ignored message.
Definition protocol.h:67
@ cmdDirty
Mark a metatile as dirty for background re-rendering (no reply expected).
Definition protocol.h:71
@ cmdRenderPrio
High-priority interactive tile render request (e.g. missing tile on disk).
Definition protocol.h:77
@ cmdDone
Response from renderd indicating the requested metatile finished rendering.
Definition protocol.h:73
Legacy version 1 wire protocol message packet (ver == 1).
Definition protocol.h:113
int z
Tile zoom level.
Definition protocol.h:123
int x
Tile X coordinate.
Definition protocol.h:119
int y
Tile Y coordinate.
Definition protocol.h:121
int ver
Protocol version number (1).
Definition protocol.h:115
enum protoCmd cmd
Request or response command opcode.
Definition protocol.h:117
Legacy version 2 wire protocol message packet (ver == 2).
Definition protocol.h:131
int y
Tile Y coordinate.
Definition protocol.h:139
enum protoCmd cmd
Request or response command opcode.
Definition protocol.h:135
int ver
Protocol version number (2).
Definition protocol.h:133
int x
Tile X coordinate.
Definition protocol.h:137
char xmlname[41]
Null-terminated target map configuration (xmlconfig) name.
Definition protocol.h:143
int z
Tile zoom level.
Definition protocol.h:141
Version 3 wire protocol message packet (PROTO_VER == 3).
Definition protocol.h:89
char options[41]
Null-terminated style parameterization options string.
Definition protocol.h:105
int ver
Protocol version number (3 for struct protocol).
Definition protocol.h:91
enum protoCmd cmd
Request or response command opcode.
Definition protocol.h:93
int x
Tile X coordinate.
Definition protocol.h:95
int y
Tile Y coordinate.
Definition protocol.h:97
int z
Tile zoom level.
Definition protocol.h:99
char xmlname[41]
Null-terminated target map configuration (xmlconfig) name.
Definition protocol.h:101
char mimetype[41]
Null-terminated requested output MIME type (e.g. "image/png").
Definition protocol.h:103