Separate the logging utilities for queries in two . The multi-line
[yaz-moved-to-github.git] / include / yaz / querytowrbuf.h
1 /*
2  * Copyright (C) 1995-2005, Index Data ApS
3  * See the file LICENSE for details.
4  *
5  * $Id: querytowrbuf.h,v 1.1 2006-01-20 10:34:51 adam Exp $
6  */
7
8 /**
9  * \file querytowrbuf.h
10  * \brief Query to WRBUF (to strings)
11  */
12
13 #ifndef YAZ_QUERYTOWRBUF_H
14 #define YAZ_QUERYTOWRBUF_H
15
16 #include <yaz/yconfig.h>
17 #include <yaz/proto.h>
18 #include <yaz/wrbuf.h>
19
20 YAZ_BEGIN_CDECL
21
22 YAZ_EXPORT void yaz_query_to_wrbuf(WRBUF b, const Z_Query *q);
23 YAZ_EXPORT void yaz_scan_to_wrbuf(WRBUF b, const Z_AttributesPlusTerm *zapt,
24                                   oid_value ast);
25 YAZ_EXPORT void yaz_rpnquery_to_wrbuf(WRBUF b, const Z_RPNQuery *rpn);
26
27 YAZ_END_CDECL
28
29 #endif
30 /*
31  * Local variables:
32  * c-basic-offset: 4
33  * indent-tabs-mode: nil
34  * End:
35  * vim: shiftwidth=4 tabstop=8 expandtab
36  */
37