IDZEBRA  2.1.2
recgrs.h
Go to the documentation of this file.
1 /* This file is part of the Zebra server.
2  Copyright (C) Index Data
3 
4 Zebra is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8 
9 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 */
19 
20 #ifndef RECGRS_H
21 #define RECGRS_H
22 
23 #include <idzebra/recctrl.h>
24 
25 YAZ_BEGIN_CDECL
26 
27 struct grs_read_info {
29  void *clientData;
30  NMEM mem;
32 };
33 
34 YAZ_EXPORT
35 int zebra_grs_extract(void *clientData, struct recExtractCtrl *p,
36  data1_node *(*grs_read)(struct grs_read_info *));
37 
38 YAZ_EXPORT
39 int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p,
40  data1_node *(*grs_read)(struct grs_read_info *));
41 
42 
43 YAZ_EXPORT
44 int grs_extract_tree(struct recExtractCtrl *p, data1_node *n);
45 
46 YAZ_END_CDECL
47 
48 #endif
49 /*
50  * Local variables:
51  * c-basic-offset: 4
52  * c-file-style: "Stroustrup"
53  * indent-tabs-mode: nil
54  * End:
55  * vim: shiftwidth=4 tabstop=8 expandtab
56  */
57 
int grs_extract_tree(struct recExtractCtrl *p, data1_node *n)
Definition: recgrs.c:884
int zebra_grs_extract(void *clientData, struct recExtractCtrl *p, data1_node *(*grs_read)(struct grs_read_info *))
Definition: recgrs.c:935
void * clientData
Definition: recgrs.h:29
data1_handle dh
Definition: recgrs.h:31
record extract for indexing
Definition: recctrl.h:101
NMEM mem
Definition: recgrs.h:30
int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p, data1_node *(*grs_read)(struct grs_read_info *))
Definition: recgrs.c:1071
struct ZebraRecStream * stream
Definition: recgrs.h:28
record reader stream
Definition: recctrl.h:71