mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-08 08:24:25 +00:00

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
31 lines
590 B
C
31 lines
590 B
C
#ifndef GEN_TILE_H
|
|
#define GEN_TILE_H
|
|
|
|
#include "protocol.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct item {
|
|
struct item *next;
|
|
struct item *prev;
|
|
struct protocol req;
|
|
int mx, my;
|
|
int fd;
|
|
struct item *duplicates;
|
|
};
|
|
|
|
//int render(Map &m, int x, int y, int z, const char *filename);
|
|
void *render_thread(void *);
|
|
struct item *fetch_request(void);
|
|
void delete_request(struct item *item);
|
|
void send_response(struct item *item, enum protoCmd);
|
|
void render_init(const char *plugins_dir, const char* font_dir, int font_recurse);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|