source: subversion/applications/utils/mod_tile/gen_tile.h @ 15816

Last change on this file since 15816 was 15799, checked in by jochen, 11 years ago

Renderd uses iniparser3.0b ini file parser now which is included
Made renderd more configurable at runtime: socketname, num_threads and the mapnik settings plugins_dir, font_dir, and font_dir_recurse are now available through renderd.conf

There should be only one incompatible change: the [Default] section in the config is now in all lowercase "[default]" because the parser lib gives section and key names back in lowercase

File size: 590 bytes
Line 
1#ifndef GEN_TILE_H
2#define GEN_TILE_H
3
4#include "protocol.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10struct item {
11    struct item *next;
12    struct item *prev;
13    struct protocol req;
14    int mx, my;
15    int fd;
16    struct item *duplicates;
17};
18
19//int render(Map &m, int x, int y, int z, const char *filename);
20void *render_thread(void *);
21struct item *fetch_request(void);
22void delete_request(struct item *item);
23void send_response(struct item *item, enum protoCmd);
24void render_init(const char *plugins_dir, const char* font_dir, int font_recurse);
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif
Note: See TracBrowser for help on using the repository browser.