Merge branch 'master' into sru_2_0
[yaz-moved-to-github.git] / include / yaz / facet.h
index 43e1eea..079f371 100644 (file)
@@ -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 */
-    char *relation; /* @attr 2, defaults to '=' */
-    int limit; /* for facet attributes */
+    int sortorder;
+    int limit;
+    int start;
 };
 
 YAZ_EXPORT
@@ -92,6 +93,11 @@ void yaz_oi_set_facetlist(
 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