X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fopacdisp.c;h=7e96839c1180373440d599e656adeff61f51205b;hb=7bfdd9cdcbfd12d6690278c9b56a7ac26b2457e9;hp=6c89e69b1eb66100a038e77d0c5c9c71c2030fc0;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/src/opacdisp.c b/src/opacdisp.c index 6c89e69..7e96839 100644 --- a/src/opacdisp.c +++ b/src/opacdisp.c @@ -1,11 +1,14 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /** * \file opacdisp.c * \brief Implements OPAC record display */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -160,15 +163,6 @@ 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