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
Merge branch 'master' into sru_2_0
[yaz-moved-to-github.git]
/
include
/
yaz
/
facet.h
diff --git
a/include/yaz/facet.h
b/include/yaz/facet.h
index
43e1eea
..
079f371
100644
(file)
--- a/
include/yaz/facet.h
+++ b/
include/yaz/facet.h
@@
-57,8
+57,9
@@
struct yaz_facet_attr {
/* or number converted to a string */
/* defaults to 'any' */
char useattrbuff[30]; /* for converting numbers to strings */
/* or number converted to a string */
/* defaults to 'any' */
char useattrbuff[30]; /* for converting numbers to strings */
- char *relation; /* @attr 2, defaults to '=' */
- int limit; /* for facet attributes */
+ int sortorder;
+ int limit;
+ int start;
};
YAZ_EXPORT
};
YAZ_EXPORT
@@
-92,6
+93,11
@@
void yaz_oi_set_facetlist(
YAZ_EXPORT
Z_FacetList *yaz_oi_get_facetlist(Z_OtherInformation **otherInformation);
YAZ_EXPORT
Z_FacetList *yaz_oi_get_facetlist(Z_OtherInformation **otherInformation);
+YAZ_EXPORT
+void yaz_oi_set_facetlist(Z_OtherInformation **otherInformation, ODR odr,
+ Z_FacetList *facet_list);
+
+
YAZ_END_CDECL
#endif
YAZ_END_CDECL
#endif