/**********************************************************************
 
	Copyright (C) 2003 Hirohisa MORI <joshua@nichibun.ac.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.

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

#ifndef ___RS_CACHE_H___
#define ___RS__CACHE_H___

typedef struct rs_buf {
	RESOURCE *		r;
	XL_SEXP *		sexp;
	int			flags;
#define RSBF_MAP		0x00000001
} RS_BUF;

int
get_rs_resource_cache(RS_BUF * b,L_CHAR * url);
int
set_rs_resource_cache(RS_BUF * b);


#endif

