diff options
Diffstat (limited to 'tileserver/tileset.h')
-rw-r--r-- | tileserver/tileset.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tileserver/tileset.h b/tileserver/tileset.h deleted file mode 100644 index 58b22a5e2..000000000 --- a/tileserver/tileset.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * tileset.h: - * Interface to an individual tile set. - * - * Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. - * Email: chris@mysociety.org; WWW: http://www.mysociety.org/ - * - * $Id: tileset.h,v 1.2 2006-09-20 13:24:58 chris Exp $ - * - */ - -#ifndef __TILESET_H_ /* include guard */ -#define __TILESET_H_ - -#include <sys/types.h> - -#include <stdbool.h> -#include <stdint.h> - -#define TILEID_LEN 20 -#define TILEID_LEN_B64 27 - -typedef struct tileset *tileset; - -/* tileset.c */ -tileset tileset_open(const char *path); -void tileset_close(tileset T); -bool tileset_get_tileid(tileset T, const unsigned x, const unsigned y, - uint8_t *id); -void *tileset_get_tile(tileset T, const uint8_t *id, size_t *len); - -#endif /* __TILESET_H_ */ |