2 #include "projection.h"
6 static struct maptype *maptype_root;
9 maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, enum projection *pro))
12 mt=g_new(struct maptype, 1);
13 mt->name=g_strdup(name);
15 mt->next=maptype_root;
20 maptype_get(const char *name)
22 struct maptype *mt=maptype_root;
25 if (!g_ascii_strcasecmp(mt->name, name))