/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
/**
* \file zoom-record-cache.c
* \brief Implements ZOOM record caching
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <assert.h>
#include <string.h>
#include "zoom-p.h"
#include <yaz/diagbib1.h>
+#include <yaz/record_render.h>
#include <yaz/shptr.h>
#if SHPTR
rec->wrbuf = wrbuf_alloc();
wrbuf = rec->wrbuf;
#endif
- return ZOOM_npr_format(rec->npr, rec->schema, wrbuf, type_spec, len);
+ return yaz_record_render(rec->npr, rec->schema, wrbuf, type_spec, len);
}
ZOOM_API(int)