-/*
- * Copyright (c) 1995-2007, Index Data
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: marcdisp.h,v 1.30 2007-12-17 20:59:30 adam Exp $ */
/**
* \file marcdisp.h
/** \brief Output format: check only (no marc output) */
#define YAZ_MARC_CHECK 6
-/** \brief supply iconv handle for character set conversion .. */
+/** \brief set iconv handle for character set conversion .. */
YAZ_EXPORT void yaz_marc_iconv(yaz_marc_t mt, yaz_iconv_t cd);
+/** \brief supply iconv handle for character set conversion .. */
+YAZ_EXPORT yaz_iconv_t yaz_marc_get_iconv(yaz_marc_t mt);
+
/** \brief set debug level
\param mt handle
\param level level, where 0=lowest, 1 more debug, 2 even more
/** \brief flushes records
\param mt handle
- \param wrbuf WRBUF for output
+ \param wr WRBUF for output
\retval 0 OK
\retval -1 ERROR
*/