IDZEBRA
2.2.7
include
idzebra
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
{
28
struct
ZebraRecStream
*
stream
;
29
void
*
clientData
;
30
NMEM
mem
;
31
data1_handle
dh
;
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
recctrl.h
zebra_grs_retrieve
int zebra_grs_retrieve(void *clientData, struct recRetrieveCtrl *p, data1_node *(*grs_read)(struct grs_read_info *))
Definition:
recgrs.c:1072
zebra_grs_extract
int zebra_grs_extract(void *clientData, struct recExtractCtrl *p, data1_node *(*grs_read)(struct grs_read_info *))
Definition:
recgrs.c:936
grs_extract_tree
int grs_extract_tree(struct recExtractCtrl *p, data1_node *n)
Definition:
recgrs.c:885
ZebraRecStream
record reader stream
Definition:
recctrl.h:71
data1_handle_info
Definition:
d1_handle.c:31
data1_node
Definition:
data1.h:272
grs_read_info
Definition:
recgrs.h:27
grs_read_info::dh
data1_handle dh
Definition:
recgrs.h:31
grs_read_info::stream
struct ZebraRecStream * stream
Definition:
recgrs.h:28
grs_read_info::clientData
void * clientData
Definition:
recgrs.h:29
grs_read_info::mem
NMEM mem
Definition:
recgrs.h:30
recExtractCtrl
record extract for indexing
Definition:
recctrl.h:101
recRetrieveCtrl
Definition:
recctrl.h:118
Generated by
1.9.1