IDZEBRA  2.2.7
Data Structures | Macros | Functions
zebra_xpath.h File Reference
#include <yaz/nmem.h>

Go to the source code of this file.

Data Structures

struct  xpath_predicate
 
struct  xpath_location_step
 

Macros

#define XPATH_STEP_COUNT   10
 
#define XPATH_PREDICATE_RELATION   1
 
#define XPATH_PREDICATE_BOOLEAN   2
 

Functions

int zebra_parse_xpath_str (const char *xpath_string, struct xpath_location_step *xpath, int max, NMEM mem)
 
void dump_xp_steps (struct xpath_location_step *xpath, int no)
 

Macro Definition Documentation

◆ XPATH_PREDICATE_BOOLEAN

#define XPATH_PREDICATE_BOOLEAN   2

Definition at line 35 of file zebra_xpath.h.

◆ XPATH_PREDICATE_RELATION

#define XPATH_PREDICATE_RELATION   1

Definition at line 29 of file zebra_xpath.h.

◆ XPATH_STEP_COUNT

#define XPATH_STEP_COUNT   10

Definition at line 25 of file zebra_xpath.h.

Function Documentation

◆ dump_xp_steps()

void dump_xp_steps ( struct xpath_location_step xpath,
int  no 
)

Definition at line 235 of file xpath.c.

References dump_xp_predicate().

Referenced by zebra_parse_xpath_str().

◆ zebra_parse_xpath_str()

int zebra_parse_xpath_str ( const char *  xpath_string,
struct xpath_location_step xpath,
int  max,
NMEM  mem 
)