Files
openstreetmap-mod_tile-pyth…/gen_tile.h

29 lines
492 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 fd;
};
//int render(Map &m, int x, int y, int z, const char *filename);
void *render_thread(void *unused);
struct item *fetch_request(void);
void delete_request(struct item *item);
void send_response(struct item *item, enum protoCmd);
void render_init(void);
#ifdef __cplusplus
}
#endif
#endif