IDZEBRA  2.2.7
d1_absyn.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 D1_ABSYN_H
21 #define D1_ABSYN_H 1
22 
23 #define ENHANCED_XELM 1
24 #define OPTIMIZE_MELM 1
25 
26 #include <zebra_xpath.h>
27 #include <idzebra/data1.h>
28 #include <dfa.h>
29 
30 typedef struct data1_xpelement
31 {
32  char *xpath_expr;
33 #ifdef ENHANCED_XELM
35  int xpath_len;
36 #endif
37  struct DFA *dfa;
40 #if OPTIMIZE_MELM
41  const char *regexp;
42 #endif
46 
48 {
49  char *name;
50  Odr_oid *oid;
58  struct data1_xpelement *xp_elements; /* pop */
60  char *encoding;
62 };
63 
64 #endif
65 /*
66  * Local variables:
67  * c-basic-offset: 4
68  * c-file-style: "Stroustrup"
69  * indent-tabs-mode: nil
70  * End:
71  * vim: shiftwidth=4 tabstop=8 expandtab
72  */
73 
struct data1_xpelement data1_xpelement
DATA1_XPATH_INDEXING
Definition: data1.h:347
Definition: dfa.h:53
data1_esetname * esetnames
Definition: d1_absyn.h:53
data1_varset * varset
Definition: d1_absyn.h:52
data1_sub_elements * sub_elements
Definition: d1_absyn.h:56
enum DATA1_XPATH_INDEXING xpath_indexing
Definition: d1_absyn.h:61
data1_marctab * marc
Definition: d1_absyn.h:55
data1_maptab * maptabs
Definition: d1_absyn.h:54
data1_tagset * tagset
Definition: d1_absyn.h:51
char * name
Definition: d1_absyn.h:49
char * encoding
Definition: d1_absyn.h:60
struct data1_xpelement * xp_elements
Definition: d1_absyn.h:58
data1_element * main_elements
Definition: d1_absyn.h:57
Odr_oid * oid
Definition: d1_absyn.h:50
struct data1_systag * systags
Definition: d1_absyn.h:59
char * xpath_expr
Definition: d1_absyn.h:32
data1_termlist * termlists
Definition: d1_absyn.h:38
struct xpath_location_step xpath[XPATH_STEP_COUNT]
Definition: d1_absyn.h:34
struct data1_xpelement * match_next
Definition: d1_absyn.h:44
const char * regexp
Definition: d1_absyn.h:41
struct DFA * dfa
Definition: d1_absyn.h:37
struct data1_xpelement * next
Definition: d1_absyn.h:39
#define XPATH_STEP_COUNT
Definition: zebra_xpath.h:25