diff options
-rw-r--r-- | tileserver/tileset.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tileserver/tileset.c b/tileserver/tileset.c index c11c4ea8f..866125e30 100644 --- a/tileserver/tileset.c +++ b/tileserver/tileset.c @@ -7,7 +7,7 @@ * */ -static const char rcsid[] = "$Id: tileset.c,v 1.5 2006-09-20 15:45:44 chris Exp $"; +static const char rcsid[] = "$Id: tileset.c,v 1.6 2006-09-20 16:44:53 chris Exp $"; /* * Tile sets are stored in directory trees which contain indices of tile @@ -103,6 +103,12 @@ void tileset_close(tileset T) { xfree(T); } +/* tileset_path T + * Return the path used to open T. */ +char *tileset_path(tileset T) { + return T->t_path; +} + static size_t blockmap_bitmap_len(const unsigned blocking) { return (blocking * blocking + 8) / 8; } |