Use backendtype none instead of finmarc
[yazproxy-moved-to-github.git] / src / proxyp.h
1 /* $Id: proxyp.h,v 1.1 2004-12-03 14:28:18 adam Exp $
2    Copyright (c) 1998-2004, Index Data.
3
4 This file is part of the yaz-proxy.
5
6 YAZ proxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
10
11 YAZ proxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with YAZ proxy; see the file LICENSE.  If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA.
20  */
21
22 #if HAVE_XSLT
23 #include <libxml/parser.h>
24 #include <libxml/tree.h>
25 #include <libxml/xinclude.h>
26 #include <libxslt/xsltutils.h>
27 #include <libxslt/transform.h>
28 #endif
29
30 #if HAVE_USEMARCON
31 #include <objectlist.h>
32 #endif
33
34 #include <yazproxy/proxy.h>
35
36 class Yaz_usemarcon {
37  public:
38     Yaz_usemarcon();
39     ~Yaz_usemarcon();
40
41     int convert(const char *stage1, const char *stage2,
42                 const char *input, int input_len,
43                 char **output, int *output_len);
44 #if HAVE_USEMARCON
45     CDetails *m_stage1;
46     CDetails *m_stage2;
47 #else
48     int dummy;
49 #endif
50 };