From: Adam Dickmeiss Date: Thu, 4 May 2006 15:31:04 +0000 (+0000) Subject: Make things compile --without-xslt X-Git-Tag: YAZ.2.1.20~87 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=6db6a25098ef14e638db1e185330e2ba5b75e631;p=yaz-moved-to-github.git Make things compile --without-xslt --- diff --git a/src/record_conv.c b/src/record_conv.c index e392e61..7327ef4 100644 --- a/src/record_conv.c +++ b/src/record_conv.c @@ -2,7 +2,7 @@ * Copyright (C) 2005-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: record_conv.c,v 1.2 2006-05-03 13:04:46 adam Exp $ + * $Id: record_conv.c,v 1.3 2006-05-04 15:31:04 adam Exp $ */ /** * \file record_conv.c @@ -54,6 +54,7 @@ enum YAZ_RECORD_CONV_RULE YAZ_RECORD_CONV_RULE_MARC }; + /** \brief tranformation info (rule info) */ struct yaz_record_conv_rule { enum YAZ_RECORD_CONV_RULE which; @@ -427,25 +428,6 @@ int yaz_record_conv_record(yaz_record_conv_t p, const char *input_record, return ret; } -#else -/* !HAVE_XSLT */ -int yaz_record_conv_configure(yaz_record_conv_t p, const void *ptr_v) -{ - wrbuf_rewind(p->wr_error); - wrbuf_printf(p->wr_error, "No XML support: yaz_record_conv_configure"); - return -1; -} - -int yaz_record_conv_record(yaz_record_conv_t p, const char *input_record, - WRBUF output_record); -{ - wrbuf_rewind(p->wr_error); - wrbuf_printf(p->wr_error, "No XML support: yaz_record_conv_record"); - return -1; -} - -#endif - const char *yaz_record_conv_get_error(yaz_record_conv_t p) { return wrbuf_buf(p->wr_error); @@ -461,6 +443,7 @@ void yaz_record_conv_set_path(yaz_record_conv_t p, const char *path) p->path = xstrdup(path); } } +#endif /* * Local variables: