projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaz-iconv: fix typos
[yaz-moved-to-github.git]
/
src
/
sru-p.h
diff --git
a/src/sru-p.h
b/src/sru-p.h
index
09bd4ce
..
30c6f1b
100644
(file)
--- a/
src/sru-p.h
+++ b/
src/sru-p.h
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data.
+ * Copyright (C) Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@
-35,11
+35,11
@@
void yaz_add_name_value_str(ODR o, char **name, char **value, int *i,
void yaz_add_name_value_int(ODR o, char **name, char **value, int *i,
char *a_name, Odr_int *val);
void yaz_add_name_value_int(ODR o, char **name, char **value, int *i,
char *a_name, Odr_int *val);
-Z_AttributeList *yaz_use_attribute_create(ODR o, const char *name);
-
char *yaz_negotiate_sru_version(char *input_ver);
char *yaz_negotiate_sru_version(char *input_ver);
-void yaz_sru_facet_request(ODR, Z_FacetList **facetList, const char **limit);
+void yaz_sru_facet_request(ODR, Z_FacetList **facetList,
+ const char **limit, const char **start,
+ const char **sort);
#if YAZ_HAVE_XML2
#include <libxml/parser.h>
#if YAZ_HAVE_XML2
#include <libxml/parser.h>
@@
-51,8
+51,16
@@
int yaz_match_xsd_integer(xmlNodePtr ptr, const char *elem, ODR o,
Odr_int **val);
int yaz_match_xsd_string_n(xmlNodePtr ptr, const char *elem, ODR o,
char **val, int *len);
Odr_int **val);
int yaz_match_xsd_string_n(xmlNodePtr ptr, const char *elem, ODR o,
char **val, int *len);
+int yaz_match_xsd_string_n_nmem(xmlNodePtr ptr, const char *elem, NMEM nmem,
+ char **val, int *len);
int yaz_match_xsd_element(xmlNodePtr ptr, const char *elem);
int yaz_match_xsd_element(xmlNodePtr ptr, const char *elem);
+int yaz_match_xsd_XML_n2(xmlNodePtr ptr, const char *elem, ODR o,
+ char **val, int *len, int fixup_root);
+
+int yaz_match_xsd_XML_n(xmlNodePtr ptr, const char *elem, ODR o,
+ char **val, int *len);
+
xmlNodePtr add_xsd_string(xmlNodePtr ptr, const char *elem, const char *val);
void add_xsd_integer(xmlNodePtr ptr, const char *elem, const Odr_int *val);
xmlNodePtr add_xsd_string(xmlNodePtr ptr, const char *elem, const char *val);
void add_xsd_integer(xmlNodePtr ptr, const char *elem, const Odr_int *val);
@@
-60,6
+68,12
@@
void add_xsd_integer(xmlNodePtr ptr, const char *elem, const Odr_int *val);
xmlNodePtr add_xsd_string_n(xmlNodePtr ptr, const char *elem, const char *val,
int len);
xmlNodePtr add_xsd_string_n(xmlNodePtr ptr, const char *elem, const char *val,
int len);
+void add_XML_n(xmlNodePtr ptr, const char *elem, char *val, int len,
+ xmlNsPtr ns_ptr);
+
+xmlNodePtr add_xsd_string_ns(xmlNodePtr ptr, const char *elem, const char *val,
+ xmlNsPtr ns_ptr);
+
void yaz_sru_facet_response(ODR o, Z_FacetList **facetList, xmlNodePtr n);
const char *yaz_element_attribute_value_get(xmlNodePtr ptr,
void yaz_sru_facet_response(ODR o, Z_FacetList **facetList, xmlNodePtr n);
const char *yaz_element_attribute_value_get(xmlNodePtr ptr,