/**********************************************************************
 
	Copyright (C) 2004 Tomohito Nakajima <nakajima@zeta.co.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	This program is distributed in the hope that it will be 
	useful, but WITHOUT ANY WARRANTY; without even the 
	implied warranty of MERCHANTABILITY or FITNESS FOR A 
	PARTICULAR PURPOSE.

**********************************************************************/

#include <stdlib.h>
#include "addrdb.h"

/* this method return locale object for kokudo-koutu-syou gaiku-level-sansyou-jyouhou data */
/* pass this object to addrdb_open() function. */
ADDRDB_LOCALE *addrdb_kokudo_get_locale();

/* import kokudo-koutu-syou gaiku-level-sansyou-jyouhou data */
int addrdb_kokudo_import_csv_batch(ADDRDB *db, const char *input_dir);

/* make sexp record data for kokudo-koutu-syou gaiku-level-sansyou-jyouhou data */
XL_SEXP *addrdb_kokudo_make_record_data(
	double longitude, double latitule, int public_coordinate_system, double x, double y);
