/*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#ifndef __GIS_TILE_H__
#define __GIS_TILE_H__
-#include <config.h>
#include <glib.h>
typedef struct _GisTile GisTile;
gdouble lat, gdouble lon, gdouble elev,
GisTileLoadFunc load_func, gpointer user_data);
+/* Find the leaf tile containing lat-lon */
+GisTile *gis_tile_find(GisTile *root, gdouble lat, gdouble lon);
+
/* Delete nodes that haven't been accessed since atime */
GisTile *gis_tile_gc(GisTile *root, time_t atime,
GisTileFreeFunc free_func, gpointer user_data);