aboutsummaryrefslogtreecommitdiffstats
path: root/tileserver/tileset.h
diff options
context:
space:
mode:
authorfrancis <francis>2006-09-22 13:57:00 +0000
committerfrancis <francis>2006-09-22 13:57:00 +0000
commit648b23aa61f7523c4ad296303f9f70f8c1bb15bf (patch)
tree52af5553a05957795e04ae12ff6ac5901656960b /tileserver/tileset.h
parentb65558eac2e214c138c5887f0fd94249ec7f598c (diff)
Create TilMa service (for mapping tiles).
Move map tile stuff to appropriate places: - pnmtilesplit into its own project, as is standalone - tileserver and maketiles into TilMa
Diffstat (limited to 'tileserver/tileset.h')
-rw-r--r--tileserver/tileset.h32
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_ */