X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Freclists.h;h=a3d36ce8d8452c710813d0cf07b2776b244f79db;hb=817e3ec506c4095bc4fcc1923cee36153ef4ee43;hp=7d5e4ab0cdc1d30473a4a065ba280604010a8347;hpb=63451a67759e590b0c3d5991274976fe8f47d3f1;p=pazpar2-moved-to-github.git diff --git a/src/reclists.h b/src/reclists.h index 7d5e4ab..a3d36ce 100644 --- a/src/reclists.h +++ b/src/reclists.h @@ -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);