From 6db6a25098ef14e638db1e185330e2ba5b75e631 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 4 May 2006 15:31:04 +0000 Subject: [PATCH] Make things compile --without-xslt --- src/record_conv.c | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) 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: -- 1.7.10.4