projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaz_url_exec: minor adjustments to log msgs
[yaz-moved-to-github.git]
/
src
/
zoom-record-cache.c
diff --git
a/src/zoom-record-cache.c
b/src/zoom-record-cache.c
index
e90ef02
..
7538ff5
100644
(file)
--- a/
src/zoom-record-cache.c
+++ b/
src/zoom-record-cache.c
@@
-1,11
+1,14
@@
/* This file is part of the YAZ toolkit.
/* 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
*/
* 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 <assert.h>
#include <string.h>
@@
-13,6
+16,7
@@
#include "zoom-p.h"
#include <yaz/diagbib1.h>
#include "zoom-p.h"
#include <yaz/diagbib1.h>
+#include <yaz/record_render.h>
#include <yaz/shptr.h>
#if SHPTR
#include <yaz/shptr.h>
#if SHPTR
@@
-232,7
+236,7
@@
ZOOM_API(const char *)
rec->wrbuf = wrbuf_alloc();
wrbuf = rec->wrbuf;
#endif
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)
}
ZOOM_API(int)