1 #ifndef SPARQL_H_INCLUDED
2 #define SPARQL_H_INCLUDED
5 #include <yaz/z-core.h>
10 typedef struct yaz_sparql_s *yaz_sparql_t;
13 yaz_sparql_t yaz_sparql_create(void);
16 void yaz_sparql_destroy(yaz_sparql_t s);
19 int yaz_sparql_add_pattern(yaz_sparql_t s, const char *pattern,
23 int yaz_sparql_from_rpn_stream(yaz_sparql_t s,
25 void (*pr)(const char *buf,
31 int yaz_sparql_from_rpn_wrbuf(yaz_sparql_t s, WRBUF addinfo, WRBUF w,
41 * c-file-style: "Stroustrup"
42 * indent-tabs-mode: nil
44 * vim: shiftwidth=4 tabstop=8 expandtab