source: trunk/gsdl/packages/yaz/include/yaz/pquery.h@ 1343

Last change on this file since 1343 was 1343, checked in by johnmcp, 24 years ago

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1/*
2 * Copyright (c) 1995-2000, Index Data.
3 *
4 * Permission to use, copy, modify, distribute, and sell this software and
5 * its documentation, in whole or in part, for any purpose, is hereby granted,
6 * provided that:
7 *
8 * 1. This copyright and permission notice appear in all copies of the
9 * software and its documentation. Notices of copyright or attribution
10 * which appear at the beginning of any file must remain unchanged.
11 *
12 * 2. The name of Index Data or the individual authors may not be used to
13 * endorse or promote products derived from this software without specific
14 * prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
17 * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
18 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
19 * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
20 * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
21 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
22 * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23 * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
24 * OF THIS SOFTWARE.
25 *
26 * $Log$
27 * Revision 1.1 2000/08/03 03:10:42 johnmcp
28 * Added the YAZ toolkit source to the packages directory (for z39.50 stuff)
29 *
30 * Revision 1.2 2000/02/28 11:20:06 adam
31 * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
32 *
33 * Revision 1.1 1999/11/30 13:47:11 adam
34 * Improved installation. Moved header files to include/yaz.
35 *
36 * Revision 1.8 1997/09/01 08:49:50 adam
37 * New windows NT/95 port using MSV5.0. To export DLL functions the
38 * YAZ_EXPORT modifier was added. Defined in yconfig.h.
39 *
40 * Revision 1.7 1997/05/14 06:53:43 adam
41 * C++ support.
42 *
43 * Revision 1.6 1996/08/12 14:09:24 adam
44 * Default prefix query attribute set defined by using p_query_attset.
45 *
46 * Revision 1.5 1996/03/15 11:01:46 adam
47 * Extra argument to p_query_rpn: protocol.
48 * Extra arguments to p_query_scan: protocol and attributeSet.
49 *
50 * Revision 1.4 1995/09/29 17:12:05 quinn
51 * Smallish
52 *
53 * Revision 1.3 1995/09/27 15:02:49 quinn
54 * Modified function heads & prototypes.
55 *
56 * Revision 1.2 1995/05/26 08:56:05 adam
57 * New function: p_query_scan.
58 *
59 * Revision 1.1 1995/05/22 15:31:05 adam
60 * New function, p_query_rpn, to convert from prefix (ascii) to rpn (asn).
61 *
62 */
63
64#ifndef PQUERY_H
65#define PQUERY_H
66
67#include <yaz/yconfig.h>
68#include <yaz/proto.h>
69
70YAZ_BEGIN_CDECL
71
72YAZ_EXPORT Z_RPNQuery *p_query_rpn (ODR o, oid_proto proto, const char *qbuf);
73
74YAZ_EXPORT Z_AttributesPlusTerm *p_query_scan (ODR o, oid_proto proto,
75 Odr_oid **attributeSetP, const char *qbuf);
76YAZ_EXPORT int p_query_attset (const char *arg);
77
78YAZ_END_CDECL
79
80#endif
Note: See TracBrowser for help on using the repository browser.