1 /* $Id: srw-util.h,v 1.1 2003-01-06 08:20:27 adam Exp $
2 Copyright (C) 2002-2003
5 This file is part of the YAZ toolkit.
12 struct cql_node *xcql_to_cqlnode(struct xcql__operandType *p);
14 typedef struct xslt_maps_info *xslt_maps;
15 typedef struct xslt_map_result_info *xslt_map_result;
17 xslt_maps xslt_maps_create(void);
18 int xslt_maps_file(xslt_maps m, const char *f);
19 void xslt_maps_free(xslt_maps m);
21 xslt_map_result xslt_map (xslt_maps m, const char *schema_source,
22 const char *scheme_target,
23 const char *in_buf, int in_len);
24 void xslt_map_free (xslt_map_result res);
26 char *xslt_map_result_buf(xslt_map_result res);
27 int xslt_map_result_len(xslt_map_result res);
28 char *xslt_map_result_schema(xslt_map_result res);
29 const char *yaz_srw_diag_str (int code);
31 void yaz_srw_serve (struct soap *soap,
33 int (*sr_h)(void *userinfo,
36 struct xcql__operandType *xQuery,
37 xsd__string *sortKeys,
38 struct xsort__xSortKeysType *xSortKeys,
39 xsd__integer *startRecord,
40 xsd__integer *maximumRecords,
41 xsd__string *recordSchema,
42 xsd__string *recordPacking,
43 struct zs__searchRetrieveResponse *res),
44 int (*e_h)(void *userinfo,
46 struct zs__explainResponse *explainResponse));
48 extern struct Namespace srw_namespaces[];