X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fopacdisp.c;h=c596f659350d26ed73e55290791fead5ea506c49;hp=ad8113eb8acff0e9c8c746beeb702f4cd4404417;hb=c2d4d247b3fe28f7c191fbc3644c8e011e1a4fea;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/src/opacdisp.c b/src/opacdisp.c index ad8113e..c596f65 100644 --- a/src/opacdisp.c +++ b/src/opacdisp.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ /** @@ -160,18 +160,10 @@ void yaz_opac_decode_wrbuf(yaz_marc_t mt, Z_OPACRecord *r, WRBUF wrbuf) wrbuf_puts(wrbuf, "\n"); } -void yaz_display_OPAC(WRBUF wrbuf, Z_OPACRecord *opac_rec, int flags) -{ - yaz_marc_t mt = yaz_marc_create(); - - yaz_marc_xml(mt, YAZ_MARC_MARCXML); - yaz_opac_decode_wrbuf(mt, opac_rec, wrbuf); - yaz_marc_destroy(mt); -} - /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab