Happy new year
[pazpar2-moved-to-github.git] / src / reclists.h
index 7d5e4ab..a3d36ce 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Pazpar2.
-   Copyright (C) 2006-2013 Index Data
+   Copyright (C) Index Data
 
 Pazpar2 is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -30,7 +30,7 @@ struct reclist;
 struct reclist_sortparms
 {
     int offset;
-    enum conf_sortkey_type type;
+    enum conf_metadata_type type;
     int increasing;
     char *name;
     struct reclist_sortparms *next;
@@ -49,6 +49,7 @@ void reclist_sort(struct reclist *l, struct reclist_sortparms *parms);
 struct record_cluster *reclist_read_record(struct reclist *l);
 void reclist_enter(struct reclist *l);
 void reclist_leave(struct reclist *l);
+void reclist_rewind(struct reclist *l);
 struct reclist_sortparms *reclist_parse_sortparms(NMEM nmem, const char *parms,
     struct conf_service *service);