* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
{
fprintf (stderr, "Usage: %s [-c cfile] [-f from] [-t to] "
"[-i format] [-o format] "
{
fprintf (stderr, "Usage: %s [-c cfile] [-f from] [-t to] "
"[-i format] [-o format] "
{
WRBUF wrbuf = wrbuf_alloc();
yaz_marc_write_mode(mt, wrbuf);
{
WRBUF wrbuf = wrbuf_alloc();
yaz_marc_write_mode(mt, wrbuf);
r = yaz_marc_decode_buf(mt, buf, -1, &result, &len_result);
if (r > 0 && result)
{
r = yaz_marc_decode_buf(mt, buf, -1, &result, &len_result);
if (r > 0 && result)
{
const char *split_fname = 0;
const char *leader_spec = 0;
int write_using_libxml2 = 0;
const char *split_fname = 0;
const char *leader_spec = 0;
int write_using_libxml2 = 0;